Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.00102/0.001019, allocations: 102.2 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.001407/0.001407, allocations: 173.9 kB / 16.58 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.566/1.566, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.3 MB / 427 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003886, allocations: 8 kB / 0.5076 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2241, allocations: 82.31 MB / 0.588 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.691/0.9152, allocations: 145.7 MB / 0.7303 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0418/0.957, allocations: 24.92 MB / 0.7546 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006115/0.9632, allocations: 71.78 kB / 0.7547 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.9667, allocations: 0.8518 MB / 0.7555 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006876/0.9736, allocations: 1.417 MB / 0.7569 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005058/0.9787, allocations: 1.225 MB / 0.7581 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007861/0.9865, allocations: 4.488 MB / 0.7625 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005366/0.992, allocations: 2.944 MB / 0.7653 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.9954, allocations: 1.342 MB / 0.7667 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003897/0.9993, allocations: 1.809 MB / 0.7684 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008515/1, allocations: 104 kB / 0.7685 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/1.003, allocations: 0.6048 MB / 0.7691 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009292/1.004, allocations: 0.7158 MB / 0.7698 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/1.006, allocations: 0.6325 MB / 0.7704 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006694/1.012, allocations: 4.353 MB / 0.7747 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/1.012, allocations: 0 / 0.7747 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.757e-06/1.012, allocations: 0 / 0.7747 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002442/1.013, allocations: 4 kB / 0.7747 GB, free: 13.28 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.01073/1.023, allocations: 3.845 MB / 0.7784 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/1.024, allocations: 16.02 kB / 0.7784 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/1.036, allocations: 2.874 MB / 0.7813 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005866/1.042, allocations: 2.194 MB / 0.7834 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/1.042, allocations: 242.5 kB / 0.7836 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/1.043, allocations: 319.9 kB / 0.7839 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/1.056, allocations: 5.159 MB / 0.789 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-05/1.056, allocations: 0 / 0.789 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000376/1.057, allocations: 132 kB / 0.7891 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.337e-05/1.057, allocations: 80 kB / 0.7892 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.073, allocations: 6.35 MB / 0.7954 GB, free: 7.836 MB / 0.6075 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.03033/1.103, allocations: 14.56 MB / 0.8096 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009642/1.113, allocations: 4.499 MB / 0.814 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005171/1.118, allocations: 2.486 MB / 0.8164 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/1.119, allocations: 0.6696 MB / 0.8171 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005441/1.124, allocations: 2.45 MB / 0.8195 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 5.791e-06/1.124, allocations: 0 / 0.8195 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.01735/1.142, allocations: 7.528 MB / 0.8268 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/1.142, allocations: 206 kB / 0.827 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/1.146, allocations: 2.378 MB / 0.8293 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004978/1.146, allocations: 73.7 kB / 0.8294 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1.148, allocations: 1.353 MB / 0.8307 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.149, allocations: 0.901 MB / 0.8316 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.149, allocations: 44 kB / 0.8316 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002054/1.149, allocations: 406.8 kB / 0.832 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/1.153, allocations: 1.968 MB / 0.834 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/1.158, allocations: 2.273 MB / 0.8362 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/1.163, allocations: 2.109 MB / 0.8382 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.163, allocations: 4 kB / 0.8382 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.0112/1.174, allocations: 4.952 MB / 0.8431 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/1.174, allocations: 4 kB / 0.8431 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.174, allocations: 4 kB / 0.8431 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008782/1.175, allocations: 342.4 kB / 0.8434 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/1.178, allocations: 0.7878 MB / 0.8442 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005982/1.184, allocations: 3.9 MB / 0.848 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004828/1.189, allocations: 0.5557 MB / 0.8485 GB, free: 172 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009126/1.19, allocations: 111.8 kB / 0.8486 GB, free: 60 kB / 0.6544 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.003705/1.194, allocations: 0.9345 MB / 0.8495 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.195, allocations: 268.6 kB / 0.8498 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/1.209, allocations: 5.563 MB / 0.8552 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/1.209, allocations: 28 kB / 0.8553 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.209, allocations: 4 kB / 0.8553 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/1.209, allocations: 15.94 kB / 0.8553 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5046/1.714, allocations: 9.281 MB / 0.8643 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/1.714, allocations: 0.7188 kB / 0.8643 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004345/1.718, allocations: 0.7357 MB / 0.8651 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/1.72, allocations: 384.3 kB / 0.8654 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007564/1.72, allocations: 78.36 kB / 0.8655 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006308/1.727, allocations: 5.782 MB / 0.8712 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.727, allocations: 3.281 kB / 0.8712 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/1.743, allocations: 7.9 MB / 0.8789 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/1.746, allocations: 0.848 MB / 0.8797 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/1.746, allocations: 59.42 kB / 0.8798 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/1.749, allocations: 421.5 kB / 0.8802 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/1.749, allocations: 174.9 kB / 0.8803 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.75, allocations: 104.4 kB / 0.8804 GB, free: 205.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002455/1.752, allocations: 1.726 MB / 0.8821 GB, free: 205.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/1.752, allocations: 3.938 kB / 0.8821 GB, free: 205.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003606/1.756, allocations: 1.025 MB / 0.8831 GB, free: 204.9 MB / 0.67 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.00266/1.758, allocations: 1.023 MB / 0.8841 GB, free: 204.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01293/1.771, allocations: 4.79 MB / 0.8888 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.771, allocations: 0 / 0.8888 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006017/1.777, allocations: 2.754 MB / 0.8915 GB, free: 202.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/1.781, allocations: 0.6147 MB / 0.8921 GB, free: 202 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.799, allocations: 9.151 MB / 0.901 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/1.802, allocations: 2.379 MB / 0.9033 GB, free: 196.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/1.804, allocations: 302.3 kB / 0.9036 GB, free: 196.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.432e-06/1.804, allocations: 0 / 0.9036 GB, free: 196.6 MB / 0.67 GB Notification: Performance of Templates: time 0.132/1.936, allocations: 81.81 MB / 0.9835 GB, free: 139.4 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile make -j1 -f IDEAS_dev_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-master/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-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElementsCalcHelperMain.o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElementsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElementsCalcHelperMain.o] Error 1