Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007756/0.0007759, allocations: 92.16 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.0008854/0.0008855, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.34/1.34, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7054/0.7054, allocations: 132.3 MB / 424.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8.562 kB / 0.5046 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4952, allocations: 81.58 MB / 0.5843 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1882/0.6834, allocations: 158.4 MB / 0.739 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03638/0.7199, allocations: 26.97 MB / 0.7653 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004173/0.7241, allocations: 71.62 kB / 0.7654 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.727, allocations: 1.003 MB / 0.7664 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006256/0.7333, allocations: 1.704 MB / 0.768 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005096/0.7384, allocations: 1.756 MB / 0.7698 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008185/0.7466, allocations: 6.152 MB / 0.7758 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005717/0.7524, allocations: 3.971 MB / 0.7796 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.7555, allocations: 1.587 MB / 0.7812 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.759, allocations: 2.225 MB / 0.7834 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005201/0.7596, allocations: 140 kB / 0.7835 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.7618, allocations: 0.7491 MB / 0.7842 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008088/0.7626, allocations: 0.8752 MB / 0.7851 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.7648, allocations: 1.857 MB / 0.7869 GB, free: 220 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005639/0.7704, allocations: 5.109 MB / 0.7919 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7704, allocations: 0 / 0.7919 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7705, allocations: 0 / 0.7919 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001872/0.7706, allocations: 0 / 0.7919 GB, free: 11.09 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.009834/0.7805, allocations: 4.315 MB / 0.7961 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.7806, allocations: 12.03 kB / 0.7961 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.7943, allocations: 2.947 MB / 0.799 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.7998, allocations: 2.523 MB / 0.8015 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.8, allocations: 279.5 kB / 0.8017 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008923/0.8009, allocations: 372 kB / 0.8021 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.8146, allocations: 5.767 MB / 0.8077 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.8148, allocations: 0 / 0.8077 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.8152, allocations: 159.9 kB / 0.8079 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-05/0.8152, allocations: 88 kB / 0.8079 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.8323, allocations: 6.952 MB / 0.8147 GB, free: 3.461 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.4013/1.234, allocations: 17.43 MB / 0.8318 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009505/1.243, allocations: 4.485 MB / 0.8361 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005851/1.249, allocations: 2.956 MB / 0.839 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008396/1.25, allocations: 0.6696 MB / 0.8397 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005748/1.256, allocations: 2.736 MB / 0.8423 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 6.191e-06/1.256, allocations: 0 / 0.8423 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02289/1.279, allocations: 9.756 MB / 0.8519 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/1.279, allocations: 211.5 kB / 0.8521 GB, free: 194.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/1.282, allocations: 2.656 MB / 0.8547 GB, free: 193 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004471/1.282, allocations: 86.67 kB / 0.8547 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.283, allocations: 1.536 MB / 0.8562 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008085/1.284, allocations: 1.047 MB / 0.8573 GB, free: 190.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.285, allocations: 227.3 kB / 0.8575 GB, free: 190.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/1.285, allocations: 301.1 kB / 0.8578 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/1.289, allocations: 2.187 MB / 0.8599 GB, free: 188.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/1.293, allocations: 2.534 MB / 0.8624 GB, free: 185.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008484/1.302, allocations: 4.72 MB / 0.867 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.302, allocations: 4 kB / 0.867 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.0113/1.313, allocations: 5.823 MB / 0.8727 GB, free: 175.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/1.313, allocations: 4 kB / 0.8727 GB, free: 175.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.313, allocations: 4 kB / 0.8727 GB, free: 175.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/1.315, allocations: 0.8396 MB / 0.8735 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/1.319, allocations: 0.8034 MB / 0.8743 GB, free: 173.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008967/1.328, allocations: 7.018 MB / 0.8811 GB, free: 166.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/1.332, allocations: 0.6023 MB / 0.8817 GB, free: 165.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009183/1.333, allocations: 123.9 kB / 0.8819 GB, free: 165.8 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 (291): * Single equations (assignments): 290 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003405/1.337, allocations: 1.02 MB / 0.8829 GB, free: 164.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.338, allocations: 312.1 kB / 0.8832 GB, free: 164.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/1.353, allocations: 6.392 MB / 0.8894 GB, free: 158 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/1.353, allocations: 32 kB / 0.8894 GB, free: 157.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/1.353, allocations: 8 kB / 0.8894 GB, free: 157.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/1.353, allocations: 19.94 kB / 0.8894 GB, free: 157.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/1.374, allocations: 10.73 MB / 0.8999 GB, free: 147.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.374, allocations: 0 / 0.8999 GB, free: 147.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/1.378, allocations: 0.7684 MB / 0.9007 GB, free: 146.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/1.38, allocations: 0.7341 MB / 0.9014 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005893/1.38, allocations: 91.94 kB / 0.9015 GB, free: 145.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009245/1.39, allocations: 9.807 MB / 0.9111 GB, free: 135.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.39, allocations: 3.938 kB / 0.9111 GB, free: 135.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/1.409, allocations: 9.087 MB / 0.9199 GB, free: 126.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002435/1.411, allocations: 0.9412 MB / 0.9209 GB, free: 125.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.412, allocations: 68.23 kB / 0.9209 GB, free: 125.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/1.416, allocations: 439.3 kB / 0.9213 GB, free: 124.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/1.417, allocations: 206.3 kB / 0.9215 GB, free: 124.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004123/1.417, allocations: 115.9 kB / 0.9217 GB, free: 124.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002902/1.42, allocations: 1.924 MB / 0.9235 GB, free: 122.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.61e-07/1.42, allocations: 0 / 0.9235 GB, free: 122.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004075/1.424, allocations: 1.227 MB / 0.9247 GB, free: 121.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.002538/1.427, allocations: 1.033 MB / 0.9257 GB, free: 120.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.439, allocations: 5.52 MB / 0.9311 GB, free: 115.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.439, allocations: 0 / 0.9311 GB, free: 115.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006615/1.445, allocations: 3.339 MB / 0.9344 GB, free: 111.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.45, allocations: 0.724 MB / 0.9351 GB, free: 111 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.466, allocations: 10.75 MB / 0.9456 GB, free: 100.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/1.468, allocations: 2.632 MB / 0.9482 GB, free: 97.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/1.47, allocations: 315.2 kB / 0.9485 GB, free: 97.22 MB / 0.6387 GB Notification: Performance of SimCode: time 7.42e-07/1.47, allocations: 4 kB / 0.9485 GB, free: 97.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.108/1.578, allocations: 101 MB / 1.047 GB, free: 12.36 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElementsCalcHelperMain.o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o] Error 1