Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008767/0.0008766, allocations: 102.2 kB / 15.71 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008978/0.0008979, allocations: 175.2 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.605/2.605, allocations: 390.4 MB / 0.6662 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9825/0.9829, allocations: 142.3 MB / 0.9544 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03605/1.019, allocations: 30.33 MB / 0.984 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02639/1.045, allocations: 13.94 MB / 0.9977 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005917/1.051, allocations: 139.1 kB / 0.9978 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004079/1.056, allocations: 0.7092 MB / 0.9985 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/1.066, allocations: 2.397 MB / 1.001 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006053/1.072, allocations: 1.391 MB / 1.002 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01584/1.088, allocations: 9.777 MB / 1.012 GB, free: 5.406 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01811/1.106, allocations: 9.864 MB / 1.021 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00652/1.113, allocations: 2.958 MB / 1.024 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006722/1.119, allocations: 3.395 MB / 1.028 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001465/1.121, allocations: 296 kB / 1.028 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/1.125, allocations: 0.8038 MB / 1.029 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003498/1.128, allocations: 2.287 MB / 1.031 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003205/1.132, allocations: 1.124 MB / 1.032 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/1.144, allocations: 9.163 MB / 1.041 GB, free: 7.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.144, allocations: 0 / 1.041 GB, free: 7.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.575e-06/1.144, allocations: 0 / 1.041 GB, free: 7.395 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003681/1.145, allocations: 0 / 1.041 GB, free: 7.395 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01376/1.158, allocations: 4.896 MB / 1.046 GB, free: 2.422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.158, allocations: 12.03 kB / 1.046 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009155/1.168, allocations: 1.137 MB / 1.047 GB, free: 1.266 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007661/1.175, allocations: 3.235 MB / 1.05 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/1.176, allocations: 374 kB / 1.05 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/1.177, allocations: 495.9 kB / 1.051 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/1.195, allocations: 7.966 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/1.195, allocations: 23.78 kB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005798/1.196, allocations: 220 kB / 1.059 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009529/1.197, allocations: 437.5 kB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/1.209, allocations: 6.053 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04/1.249, allocations: 35.2 MB / 1.1 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/1.252, allocations: 2.022 MB / 1.102 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/1.254, allocations: 1.853 MB / 1.103 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/1.254, allocations: 18 kB / 1.103 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/1.254, allocations: 56.56 kB / 1.103 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=171): time 3.317e-06/1.254, allocations: 4 kB / 1.103 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=276): time 0.1298/1.384, allocations: 38.97 MB / 1.141 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/1.384, allocations: 85.56 kB / 1.142 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003564/1.388, allocations: 2.262 MB / 1.144 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004809/1.388, allocations: 73.7 kB / 1.144 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/1.39, allocations: 2.276 MB / 1.146 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.391, allocations: 0.928 MB / 1.147 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/1.391, allocations: 60 kB / 1.147 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002532/1.392, allocations: 428.1 kB / 1.147 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/1.395, allocations: 1.958 MB / 1.149 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/1.398, allocations: 2.591 MB / 1.152 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/1.402, allocations: 2.376 MB / 1.154 GB, free: 15.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/1.402, allocations: 8 kB / 1.154 GB, free: 15.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01447/1.417, allocations: 7.72 MB / 1.162 GB, free: 7.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/1.417, allocations: 12 kB / 1.162 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.417, allocations: 16 kB / 1.162 GB, free: 7.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00848/1.425, allocations: 3.213 MB / 1.165 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.427, allocations: 395.4 kB / 1.165 GB, free: 3.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04291/1.47, allocations: 31.11 MB / 1.196 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/1.473, allocations: 159.8 kB / 1.196 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/1.473, allocations: 112 kB / 1.196 GB, free: 3.691 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004196/1.478, allocations: 1.797 MB / 1.198 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009064/1.479, allocations: 328.4 kB / 1.198 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.493, allocations: 7.33 MB / 1.205 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/1.493, allocations: 24 kB / 1.205 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-05/1.493, allocations: 36 kB / 1.205 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/1.493, allocations: 19.91 kB / 1.205 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/1.517, allocations: 12.9 MB / 1.218 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.517, allocations: 8.125 kB / 1.218 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009473/1.518, allocations: 235.6 kB / 1.218 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007919/1.526, allocations: 2.841 MB / 1.221 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003865/1.526, allocations: 56 kB / 1.221 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04219/1.569, allocations: 29.91 MB / 1.25 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/1.569, allocations: 11.94 kB / 1.25 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/1.582, allocations: 6.852 MB / 1.257 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/1.584, allocations: 0.7898 MB / 1.258 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/1.585, allocations: 56.7 kB / 1.258 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.588, allocations: 163.8 kB / 1.258 GB, free: 3.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/1.589, allocations: 257.3 kB / 1.258 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.589, allocations: 76.31 kB / 1.258 GB, free: 2.691 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002631/1.592, allocations: 1.506 MB / 1.26 GB, free: 1.184 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.592, allocations: 3.938 kB / 1.26 GB, free: 1.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.7967/2.388, allocations: 1.369 MB / 1.261 GB, free: 272.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009582/2.389, allocations: 177.5 kB / 1.261 GB, free: 272.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01491/2.404, allocations: 6.897 MB / 1.268 GB, free: 271.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/2.404, allocations: 6.734 kB / 1.268 GB, free: 271.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/2.414, allocations: 4.414 MB / 1.272 GB, free: 270.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006091/2.421, allocations: 1.035 MB / 1.273 GB, free: 270.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/2.443, allocations: 12.63 MB / 1.285 GB, free: 264.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006229/2.449, allocations: 3.759 MB / 1.289 GB, free: 263.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/2.45, allocations: 172.6 kB / 1.289 GB, free: 263.1 MB / 1.014 GB Notification: Performance of SimCode: time 1.633e-06/2.45, allocations: 0 / 1.289 GB, free: 263.1 MB / 1.014 GB Notification: Performance of Templates: time 0.2382/2.689, allocations: 226.9 MB / 1.511 GB, free: 50.39 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_NCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_NCalcHelperMain.o] Error 1