Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009775, allocations: 102.4 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.0009468/0.000947, allocations: 176.7 kB / 16.59 MB, free: 6.402 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.462/1.462, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.826/0.826, allocations: 132.3 MB / 424 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003175, allocations: 8.656 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4943, allocations: 81.57 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1857/0.68, allocations: 145.7 MB / 0.726 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03444/0.7145, allocations: 24.92 MB / 0.7503 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004385/0.719, allocations: 63.62 kB / 0.7504 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.7215, allocations: 0.8632 MB / 0.7512 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005495/0.727, allocations: 1.414 MB / 0.7526 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.7317, allocations: 1.217 MB / 0.7538 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007244/0.739, allocations: 4.487 MB / 0.7582 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005519/0.7445, allocations: 2.95 MB / 0.761 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.7481, allocations: 1.342 MB / 0.7623 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/0.7526, allocations: 1.809 MB / 0.7641 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007183/0.7534, allocations: 104 kB / 0.7642 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.7561, allocations: 0.6048 MB / 0.7648 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009695/0.7571, allocations: 0.7197 MB / 0.7655 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.7585, allocations: 0.6286 MB / 0.7661 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00596/0.7644, allocations: 4.353 MB / 0.7704 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7645, allocations: 4 kB / 0.7704 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7645, allocations: 0 / 0.7704 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001514/0.7646, allocations: 0 / 0.7704 GB, free: 0.9102 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.008156/0.7728, allocations: 3.843 MB / 0.7741 GB, free: 13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.7729, allocations: 8.031 kB / 0.7741 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.7855, allocations: 2.885 MB / 0.777 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005526/0.7911, allocations: 2.182 MB / 0.7791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.7914, allocations: 242.5 kB / 0.7793 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008654/0.7922, allocations: 319.9 kB / 0.7796 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.8044, allocations: 5.159 MB / 0.7847 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-05/0.8045, allocations: 4 kB / 0.7847 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003819/0.8049, allocations: 136 kB / 0.7848 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/0.805, allocations: 76 kB / 0.7849 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.8207, allocations: 6.358 MB / 0.7911 GB, free: 11.46 MB / 0.6231 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.0282/0.849, allocations: 14.56 MB / 0.8053 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009175/0.8582, allocations: 4.506 MB / 0.8097 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004852/0.8631, allocations: 2.482 MB / 0.8121 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009082/0.864, allocations: 0.6696 MB / 0.8128 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005076/0.8691, allocations: 2.458 MB / 0.8152 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 6.241e-06/0.8691, allocations: 0 / 0.8152 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.3829/1.252, allocations: 7.516 MB / 0.8225 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.252, allocations: 209.4 kB / 0.8227 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003997/1.256, allocations: 2.375 MB / 0.825 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007165/1.257, allocations: 74.17 kB / 0.8251 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/1.258, allocations: 1.352 MB / 0.8264 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.259, allocations: 0.896 MB / 0.8273 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/1.26, allocations: 49.22 kB / 0.8273 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.26, allocations: 406.5 kB / 0.8277 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/1.264, allocations: 1.964 MB / 0.8296 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/1.269, allocations: 2.273 MB / 0.8319 GB, free: 207 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004892/1.274, allocations: 2.117 MB / 0.8339 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/1.274, allocations: 2.281 kB / 0.8339 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01111/1.285, allocations: 4.953 MB / 0.8388 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/1.285, allocations: 8.188 kB / 0.8388 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.285, allocations: 3.312 kB / 0.8388 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008992/1.286, allocations: 342.1 kB / 0.8391 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/1.29, allocations: 0.7821 MB / 0.8399 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004726/1.294, allocations: 3.911 MB / 0.8437 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/1.298, allocations: 0.5555 MB / 0.8442 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000546/1.298, allocations: 111.1 kB / 0.8443 GB, free: 200.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 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0022/1.301, allocations: 0.9262 MB / 0.8452 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007513/1.301, allocations: 266.2 kB / 0.8455 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.313, allocations: 5.565 MB / 0.8509 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.313, allocations: 26.31 kB / 0.851 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.313, allocations: 3.719 kB / 0.851 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/1.313, allocations: 11.95 kB / 0.851 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/1.329, allocations: 9.289 MB / 0.86 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.329, allocations: 0 / 0.86 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003111/1.332, allocations: 0.7372 MB / 0.8608 GB, free: 188.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009483/1.333, allocations: 380.8 kB / 0.8611 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.333, allocations: 83.92 kB / 0.8612 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004863/1.338, allocations: 5.775 MB / 0.8668 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.338, allocations: 0 / 0.8668 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.352, allocations: 7.908 MB / 0.8746 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.354, allocations: 0.8481 MB / 0.8754 GB, free: 173.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008798/1.355, allocations: 56 kB / 0.8755 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/1.358, allocations: 419.3 kB / 0.8759 GB, free: 172.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/1.358, allocations: 182 kB / 0.876 GB, free: 172.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/1.358, allocations: 95.94 kB / 0.8761 GB, free: 172.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002493/1.361, allocations: 1.729 MB / 0.8778 GB, free: 170.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.361, allocations: 0 / 0.8778 GB, free: 170.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002937/1.364, allocations: 1.032 MB / 0.8788 GB, free: 169.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002436/1.366, allocations: 1.011 MB / 0.8798 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009326/1.376, allocations: 4.793 MB / 0.8845 GB, free: 164.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.376, allocations: 3.938 kB / 0.8845 GB, free: 164.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005038/1.381, allocations: 2.76 MB / 0.8872 GB, free: 161.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.384, allocations: 0.6123 MB / 0.8878 GB, free: 161 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.398, allocations: 9.153 MB / 0.8967 GB, free: 151.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/1.4, allocations: 2.373 MB / 0.899 GB, free: 149.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.402, allocations: 303.2 kB / 0.8993 GB, free: 149.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/1.402, allocations: 0 / 0.8993 GB, free: 149.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.07969/1.481, allocations: 81.81 MB / 0.9792 GB, free: 67.41 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/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/c/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.SimpleRoomTwoElementsCalcHelperMain.o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElementsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElementsCalcHelperMain.o] Error 1