Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 102.4 kB / 15.71 MB, free: 448 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.001317/0.001317, allocations: 176.3 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.456/1.456, allocations: 223.2 MB / 240.6 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.863/2.863, allocations: 436.7 MB / 0.7113 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7849/0.7853, allocations: 153.7 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.05795/0.8433, allocations: 55.91 MB / 1.076 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.8639, allocations: 12.4 MB / 1.088 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003099/0.867, allocations: 67.5 kB / 1.088 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.8697, allocations: 0.7104 MB / 1.089 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.8762, allocations: 1.826 MB / 1.091 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.8804, allocations: 1.186 MB / 1.092 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00733/0.8877, allocations: 4.789 MB / 1.097 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.89, allocations: 0.9811 MB / 1.098 GB, free: 3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.8933, allocations: 1.291 MB / 1.099 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.8957, allocations: 1.104 MB / 1.1 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.8961, allocations: 60 kB / 1.1 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/0.8999, allocations: 1.033 MB / 1.101 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.9005, allocations: 330.5 kB / 1.101 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008623/0.9014, allocations: 364.8 kB / 1.102 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.9049, allocations: 2.005 MB / 1.104 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.905, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.905, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.123e-05/0.9051, allocations: 4 kB / 1.104 GB, free: 12.8 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004437/0.9095, allocations: 1.925 MB / 1.106 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.9096, allocations: 15.98 kB / 1.106 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.9132, allocations: 0.5793 MB / 1.106 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.9167, allocations: 1.361 MB / 1.108 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.9169, allocations: 149.4 kB / 1.108 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.9171, allocations: 100 kB / 1.108 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/0.9201, allocations: 1.358 MB / 1.109 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.9202, allocations: 11.94 kB / 1.109 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.9203, allocations: 40 kB / 1.109 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.9203, allocations: 24 kB / 1.109 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/0.9238, allocations: 1.397 MB / 1.111 GB, free: 5.68 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007785/0.9316, allocations: 5.502 MB / 1.116 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.934, allocations: 1.105 MB / 1.117 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.9355, allocations: 0.6348 MB / 1.118 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009659/0.9365, allocations: 1.24 MB / 1.119 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/0.9382, allocations: 0.694 MB / 1.12 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.116e-06/0.9383, allocations: 0 / 1.12 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.004982/0.9432, allocations: 1.809 MB / 1.121 GB, free: 10 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.9433, allocations: 59.97 kB / 1.121 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.9451, allocations: 1.313 MB / 1.123 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.9453, allocations: 45.7 kB / 1.123 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/0.9459, allocations: 0.6739 MB / 1.123 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.9461, allocations: 244.5 kB / 1.124 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.9462, allocations: 12 kB / 1.124 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9463, allocations: 345.9 kB / 1.124 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.9478, allocations: 0.5485 MB / 1.124 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.9494, allocations: 0.7907 MB / 1.125 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.951, allocations: 0.6057 MB / 1.126 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.951, allocations: 0 / 1.126 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003636/0.9546, allocations: 1.485 MB / 1.127 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.9548, allocations: 206.3 kB / 1.127 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.9548, allocations: 7.984 kB / 1.127 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.9548, allocations: 8 kB / 1.127 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.9561, allocations: 275.6 kB / 1.128 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.9561, allocations: 4 kB / 1.128 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.9578, allocations: 251 kB / 1.128 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.9579, allocations: 43.94 kB / 1.128 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.9579, allocations: 4 kB / 1.128 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/0.9611, allocations: 1.321 MB / 1.129 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9611, allocations: 4.031 kB / 1.129 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.9611, allocations: 8 kB / 1.129 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.9623, allocations: 279.6 kB / 1.13 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.9623, allocations: 4 kB / 1.13 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.9639, allocations: 231.1 kB / 1.13 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.964, allocations: 43.97 kB / 1.13 GB, free: 1.031 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007269/0.9648, allocations: 416.9 kB / 1.13 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.965, allocations: 150.2 kB / 1.13 GB, free: 476 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.9687, allocations: 1.556 MB / 1.132 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.9687, allocations: 8 kB / 1.132 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9687, allocations: 0 / 1.132 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003024/0.9718, allocations: 1.3 MB / 1.133 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00648/0.9783, allocations: 3.308 MB / 1.136 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.9783, allocations: 4.562 kB / 1.136 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.9795, allocations: 235.7 kB / 1.137 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.9795, allocations: 8 kB / 1.137 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/0.9796, allocations: 31.97 kB / 1.137 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.9796, allocations: 11.94 kB / 1.137 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.9796, allocations: 11.94 kB / 1.137 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005352/0.985, allocations: 2.333 MB / 1.139 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/0.9858, allocations: 374.8 kB / 1.139 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.986, allocations: 24 kB / 1.139 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.9874, allocations: 183.7 kB / 1.14 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.9877, allocations: 68.36 kB / 1.14 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.9878, allocations: 43.97 kB / 1.14 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001775/0.9896, allocations: 0.9298 MB / 1.141 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9896, allocations: 0 / 1.141 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002829/0.9924, allocations: 0.8071 MB / 1.141 GB, free: 4.938 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.9937, allocations: 0.4889 MB / 1.142 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004967/0.9987, allocations: 2.105 MB / 1.144 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.9987, allocations: 4 kB / 1.144 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/1, allocations: 0.7108 MB / 1.145 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/1.004, allocations: 0.7465 MB / 1.145 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006452/1.011, allocations: 3.484 MB / 1.149 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000837/1.011, allocations: 1.238 MB / 1.15 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/1.012, allocations: 139.4 kB / 1.15 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of SimCode: time 9.01e-07/1.012, allocations: 3.938 kB / 1.15 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.0447/1.057, allocations: 26.94 MB / 1.176 GB, free: 1.133 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIRCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIRCalcHelperMain.o] Error 1