Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007494/0.0007493, allocations: 91.92 kB / 16.02 MB, free: 80 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.0009883/0.0009884, allocations: 177.4 kB / 16.92 MB, free: 6.652 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.293/1.293, allocations: 223.2 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7283/0.7283, allocations: 132.3 MB / 424.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 8 kB / 0.5046 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4424, allocations: 81.58 MB / 0.5843 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1851/0.6275, allocations: 157.1 MB / 0.7377 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03605/0.6636, allocations: 26.56 MB / 0.7637 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003712/0.6674, allocations: 71.62 kB / 0.7637 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.6699, allocations: 0.9411 MB / 0.7647 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005899/0.6758, allocations: 1.589 MB / 0.7662 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004944/0.6807, allocations: 1.591 MB / 0.7678 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007207/0.688, allocations: 5.462 MB / 0.7731 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005223/0.6932, allocations: 3.682 MB / 0.7767 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.6962, allocations: 1.454 MB / 0.7781 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.6999, allocations: 2.026 MB / 0.7801 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000684/0.7006, allocations: 120 kB / 0.7802 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.7029, allocations: 0.714 MB / 0.7809 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007856/0.7037, allocations: 0.7895 MB / 0.7817 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00203/0.7057, allocations: 1.686 MB / 0.7833 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.7108, allocations: 4.692 MB / 0.7879 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.7108, allocations: 4 kB / 0.7879 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7108, allocations: 0 / 0.7879 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001814/0.711, allocations: 0 / 0.7879 GB, free: 15.1 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.00857/0.7196, allocations: 4.011 MB / 0.7918 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7197, allocations: 12.03 kB / 0.7918 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.7329, allocations: 2.916 MB / 0.7947 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004863/0.7378, allocations: 2.373 MB / 0.797 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.738, allocations: 254.9 kB / 0.7972 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007972/0.7388, allocations: 339.9 kB / 0.7976 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.7504, allocations: 5.44 MB / 0.8029 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/0.7505, allocations: 0 / 0.8029 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/0.7508, allocations: 140 kB / 0.803 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.7509, allocations: 83.94 kB / 0.8031 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.7659, allocations: 6.621 MB / 0.8096 GB, free: 8.688 MB / 0.6387 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.3591/1.125, allocations: 15.74 MB / 0.8249 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008625/1.134, allocations: 4.086 MB / 0.8289 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005335/1.139, allocations: 2.664 MB / 0.8315 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008385/1.14, allocations: 0.6752 MB / 0.8322 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0055/1.145, allocations: 2.578 MB / 0.8347 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 5.239e-06/1.145, allocations: 1.188 kB / 0.8347 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.02064/1.166, allocations: 8.44 MB / 0.8429 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.166, allocations: 213.6 kB / 0.8432 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/1.169, allocations: 2.509 MB / 0.8456 GB, free: 200 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000476/1.17, allocations: 78.55 kB / 0.8457 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.171, allocations: 1.43 MB / 0.8471 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008132/1.172, allocations: 0.9542 MB / 0.848 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/1.172, allocations: 207.8 kB / 0.8482 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/1.172, allocations: 305.1 kB / 0.8485 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004222/1.176, allocations: 2.069 MB / 0.8505 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004328/1.181, allocations: 2.382 MB / 0.8528 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008371/1.189, allocations: 4.44 MB / 0.8572 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.189, allocations: 0 / 0.8572 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01065/1.2, allocations: 5.338 MB / 0.8624 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/1.2, allocations: 10.03 kB / 0.8624 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.2, allocations: 4 kB / 0.8624 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/1.201, allocations: 0.5507 MB / 0.8629 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/1.205, allocations: 0.7956 MB / 0.8637 GB, free: 185.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/1.211, allocations: 5.292 MB / 0.8689 GB, free: 180 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/1.215, allocations: 0.5674 MB / 0.8694 GB, free: 179.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005739/1.216, allocations: 111.9 kB / 0.8695 GB, free: 179.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001956/1.218, allocations: 0.9735 MB / 0.8705 GB, free: 178.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/1.218, allocations: 288.4 kB / 0.8708 GB, free: 178.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.23, allocations: 5.906 MB / 0.8765 GB, free: 172.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/1.23, allocations: 28 kB / 0.8766 GB, free: 172.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.23, allocations: 8 kB / 0.8766 GB, free: 172.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/1.23, allocations: 15.94 kB / 0.8766 GB, free: 172.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.247, allocations: 9.898 MB / 0.8863 GB, free: 162.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.247, allocations: 0 / 0.8863 GB, free: 162.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003381/1.25, allocations: 0.7526 MB / 0.887 GB, free: 161.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/1.251, allocations: 0.526 MB / 0.8875 GB, free: 160.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/1.252, allocations: 87.92 kB / 0.8876 GB, free: 160.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006045/1.258, allocations: 6.954 MB / 0.8944 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.258, allocations: 7.938 kB / 0.8944 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.274, allocations: 8.415 MB / 0.9026 GB, free: 145 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/1.276, allocations: 0.8831 MB / 0.9035 GB, free: 144.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005252/1.276, allocations: 52 kB / 0.9035 GB, free: 144.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.279, allocations: 440.5 kB / 0.9039 GB, free: 143.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/1.28, allocations: 198 kB / 0.9041 GB, free: 143.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/1.28, allocations: 103.9 kB / 0.9042 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002089/1.282, allocations: 1.823 MB / 0.906 GB, free: 141.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.4e-07/1.282, allocations: 0 / 0.906 GB, free: 141.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00292/1.285, allocations: 1.11 MB / 0.9071 GB, free: 140.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002333/1.287, allocations: 1.03 MB / 0.9081 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.298, allocations: 5.109 MB / 0.9131 GB, free: 134.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.298, allocations: 0 / 0.9131 GB, free: 134.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005607/1.304, allocations: 2.956 MB / 0.916 GB, free: 131.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/1.308, allocations: 0.6595 MB / 0.9166 GB, free: 131.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.322, allocations: 9.997 MB / 0.9264 GB, free: 121 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/1.324, allocations: 2.475 MB / 0.9288 GB, free: 118.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/1.326, allocations: 315.1 kB / 0.9291 GB, free: 118.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/1.326, allocations: 0 / 0.9291 GB, free: 118.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.08978/1.416, allocations: 86.24 MB / 1.013 GB, free: 32.09 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElementsCalcHelperMain.o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElementsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElementsCalcHelperMain.o] Error 1