Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000873/0.000873, allocations: 102.3 kB / 15.71 MB, free: 460 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.001047/0.001047, allocations: 176.1 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 292.7 MB / 0.5505 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007855/0.0007857, allocations: 14.12 kB / 0.6744 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3522, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007956/0.3602, allocations: 5.963 MB / 0.7938 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005544/0.3658, allocations: 2.89 MB / 0.7966 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006049/0.3664, allocations: 23.81 kB / 0.7966 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.3669, allocations: 134.8 kB / 0.7967 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.3681, allocations: 421.7 kB / 0.7971 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3691, allocations: 315.4 kB / 0.7974 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.3705, allocations: 1.318 MB / 0.7987 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.3724, allocations: 0.9273 MB / 0.7996 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.3732, allocations: 390.4 kB / 0.8 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006983/0.3739, allocations: 494.2 kB / 0.8005 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.42e-05/0.374, allocations: 36 kB / 0.8005 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.3746, allocations: 183.8 kB / 0.8007 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.3749, allocations: 267.2 kB / 0.8009 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.3751, allocations: 177.3 kB / 0.8011 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3761, allocations: 0.908 MB / 0.802 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3761, allocations: 4 kB / 0.802 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3761, allocations: 0 / 0.802 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3761, allocations: 0 / 0.802 GB, free: 13.49 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001767/0.3779, allocations: 1.009 MB / 0.803 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.378, allocations: 8.031 kB / 0.803 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.3795, allocations: 242.6 kB / 0.8032 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.3804, allocations: 0.521 MB / 0.8037 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.3805, allocations: 53.3 kB / 0.8038 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3806, allocations: 59.91 kB / 0.8038 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.3824, allocations: 1.089 MB / 0.8049 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.3825, allocations: 3.938 kB / 0.8049 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.3826, allocations: 28 kB / 0.8049 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.3827, allocations: 81.25 kB / 0.805 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.3839, allocations: 0.7465 MB / 0.8057 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006168/0.3901, allocations: 5.909 MB / 0.8115 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.3912, allocations: 0.5475 MB / 0.812 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.3916, allocations: 326 kB / 0.8123 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.3917, allocations: 8.422 kB / 0.8124 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.3918, allocations: 39 kB / 0.8124 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 5.691e-06/0.3918, allocations: 3.938 kB / 0.8124 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003932/0.3957, allocations: 1.99 MB / 0.8143 GB, free: 100 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.3958, allocations: 55.84 kB / 0.8144 GB, free: 32 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.3964, allocations: 0.5546 MB / 0.8149 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.3965, allocations: 29.7 kB / 0.815 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.3968, allocations: 418.9 kB / 0.8154 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.3969, allocations: 169.6 kB / 0.8155 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.397, allocations: 20 kB / 0.8155 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.3972, allocations: 374.8 kB / 0.8159 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.3976, allocations: 265.9 kB / 0.8162 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.3983, allocations: 0.4892 MB / 0.8166 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.3989, allocations: 350 kB / 0.817 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3989, allocations: 4 kB / 0.817 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001903/0.4008, allocations: 1.071 MB / 0.818 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.4009, allocations: 12.16 kB / 0.818 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.4009, allocations: 8 kB / 0.818 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008641/0.4018, allocations: 283.1 kB / 0.8183 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.4023, allocations: 131.7 kB / 0.8184 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00683/0.4091, allocations: 6.599 MB / 0.8249 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.4099, allocations: 35.97 kB / 0.8249 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.4099, allocations: 28 kB / 0.8249 GB, free: 4.535 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.4104, allocations: 250.3 kB / 0.8252 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.4106, allocations: 71.23 kB / 0.8252 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.4122, allocations: 0.8846 MB / 0.8261 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4122, allocations: 8 kB / 0.8261 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4122, allocations: 4 kB / 0.8261 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4122, allocations: 3.984 kB / 0.8261 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.4149, allocations: 1.721 MB / 0.8278 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4149, allocations: 4 kB / 0.8278 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.4152, allocations: 55.89 kB / 0.8279 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007153/0.4159, allocations: 275.3 kB / 0.8281 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.4159, allocations: 8 kB / 0.8281 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00647/0.4224, allocations: 6.584 MB / 0.8346 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4225, allocations: 4.031 kB / 0.8346 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.4241, allocations: 0.976 MB / 0.8355 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.4244, allocations: 196.2 kB / 0.8357 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.4245, allocations: 8 kB / 0.8357 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.4248, allocations: 27.97 kB / 0.8357 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.425, allocations: 63.7 kB / 0.8358 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.425, allocations: 12 kB / 0.8358 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004899/0.4255, allocations: 379.1 kB / 0.8362 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4255, allocations: 0 / 0.8362 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009445/0.4265, allocations: 224 kB / 0.8364 GB, free: 8.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.4267, allocations: 115.2 kB / 0.8365 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.4287, allocations: 1.264 MB / 0.8377 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.4288, allocations: 8.125 kB / 0.8377 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.43, allocations: 0.8815 MB / 0.8386 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.431, allocations: 198.9 kB / 0.8388 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.4335, allocations: 1.656 MB / 0.8404 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.4342, allocations: 1.005 MB / 0.8414 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4344, allocations: 43.44 kB / 0.8414 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.4344, allocations: 0 / 0.8414 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of Templates: time 0.03221/0.4666, allocations: 20.57 MB / 0.8615 GB, free: 14.2 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1