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.0007935/0.0007935, allocations: 103 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.0008764/0.0008764, allocations: 169.1 kB / 16.58 MB, free: 6.383 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.466/1.466, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7602/0.7602, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 4 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.541, allocations: 81.58 MB / 0.5837 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.2012/0.7423, allocations: 146.6 MB / 0.7268 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03629/0.7786, allocations: 25.18 MB / 0.7514 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/0.7823, allocations: 71.56 kB / 0.7515 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.7846, allocations: 0.8943 MB / 0.7523 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.7899, allocations: 1.491 MB / 0.7538 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004285/0.7942, allocations: 1.281 MB / 0.755 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007228/0.8015, allocations: 4.873 MB / 0.7598 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004943/0.8065, allocations: 3.12 MB / 0.7629 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.8093, allocations: 1.42 MB / 0.7642 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003283/0.8126, allocations: 1.937 MB / 0.7661 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004888/0.8131, allocations: 120 kB / 0.7662 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.8152, allocations: 0.6204 MB / 0.7669 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000814/0.816, allocations: 0.7664 MB / 0.7676 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.8171, allocations: 0.6793 MB / 0.7683 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.8226, allocations: 4.676 MB / 0.7728 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.8226, allocations: 0 / 0.7728 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8226, allocations: 4 kB / 0.7728 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001778/0.8228, allocations: 0 / 0.7728 GB, free: 14.29 MB / 0.6075 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.009417/0.8323, allocations: 4.06 MB / 0.7768 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.8323, allocations: 12.03 kB / 0.7768 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/0.8453, allocations: 2.916 MB / 0.7797 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/0.851, allocations: 2.284 MB / 0.7819 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.8512, allocations: 258.9 kB / 0.7821 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000661/0.8519, allocations: 336 kB / 0.7825 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.8645, allocations: 5.409 MB / 0.7877 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-05/0.8646, allocations: 3.984 kB / 0.7877 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004097/0.8651, allocations: 144 kB / 0.7879 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.553e-05/0.8651, allocations: 84 kB / 0.788 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/0.8807, allocations: 6.59 MB / 0.7944 GB, free: 7.973 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.02746/0.9082, allocations: 15.74 MB / 0.8098 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008442/0.9167, allocations: 4.075 MB / 0.8137 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005481/0.9223, allocations: 2.745 MB / 0.8164 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3766/1.299, allocations: 0.6742 MB / 0.8171 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007447/1.306, allocations: 2.568 MB / 0.8196 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 6.483e-06/1.306, allocations: 2.625 kB / 0.8196 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.02252/1.329, allocations: 8.338 MB / 0.8277 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/1.329, allocations: 213.8 kB / 0.8279 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006169/1.335, allocations: 2.495 MB / 0.8304 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.337, allocations: 77.52 kB / 0.8305 GB, free: 209 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001777/1.338, allocations: 1.427 MB / 0.8318 GB, free: 208 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.34, allocations: 0.9594 MB / 0.8328 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/1.341, allocations: 54.84 kB / 0.8328 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.341, allocations: 408.5 kB / 0.8332 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00519/1.346, allocations: 2.057 MB / 0.8352 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005005/1.351, allocations: 2.367 MB / 0.8375 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/1.356, allocations: 2.216 MB / 0.8397 GB, free: 204 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.356, allocations: 2.656 kB / 0.8397 GB, free: 204 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01101/1.367, allocations: 5.31 MB / 0.8449 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.367, allocations: 3.969 kB / 0.8449 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.367, allocations: 3.969 kB / 0.8449 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/1.368, allocations: 0.5534 MB / 0.8454 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/1.371, allocations: 0.7966 MB / 0.8462 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/1.377, allocations: 5.3 MB / 0.8514 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/1.381, allocations: 0.5768 MB / 0.852 GB, free: 196.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/1.381, allocations: 116.5 kB / 0.8521 GB, free: 196.6 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 (282): * Single equations (assignments): 281 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001795/1.383, allocations: 0.9704 MB / 0.853 GB, free: 196 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/1.383, allocations: 284.4 kB / 0.8533 GB, free: 195.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.394, allocations: 5.906 MB / 0.8591 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.394, allocations: 32 kB / 0.8591 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.394, allocations: 8 kB / 0.8591 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/1.394, allocations: 21.86 kB / 0.8591 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.409, allocations: 9.875 MB / 0.8688 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/1.409, allocations: 0 / 0.8688 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/1.412, allocations: 0.7566 MB / 0.8695 GB, free: 179 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/1.414, allocations: 0.526 MB / 0.87 GB, free: 178.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/1.414, allocations: 75.94 kB / 0.8701 GB, free: 178.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/1.42, allocations: 6.945 MB / 0.8769 GB, free: 171.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.42, allocations: 0 / 0.8769 GB, free: 171.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/1.435, allocations: 8.385 MB / 0.8851 GB, free: 162.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/1.436, allocations: 0.887 MB / 0.8859 GB, free: 161.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/1.437, allocations: 55.98 kB / 0.886 GB, free: 161.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/1.439, allocations: 434.2 kB / 0.8864 GB, free: 161.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/1.44, allocations: 194 kB / 0.8866 GB, free: 161.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/1.44, allocations: 103.9 kB / 0.8867 GB, free: 161 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001996/1.442, allocations: 1.811 MB / 0.8884 GB, free: 159.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.442, allocations: 0 / 0.8884 GB, free: 159.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002617/1.445, allocations: 1.111 MB / 0.8895 GB, free: 158.1 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 (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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00223/1.447, allocations: 1.015 MB / 0.8905 GB, free: 157.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009234/1.456, allocations: 5.093 MB / 0.8955 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.456, allocations: 0 / 0.8955 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004891/1.461, allocations: 2.948 MB / 0.8984 GB, free: 149.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/1.465, allocations: 0.6547 MB / 0.899 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.478, allocations: 9.699 MB / 0.9085 GB, free: 139.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/1.48, allocations: 2.475 MB / 0.9109 GB, free: 136.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/1.482, allocations: 307.2 kB / 0.9112 GB, free: 136.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.192e-06/1.482, allocations: 0 / 0.9112 GB, free: 136.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.0947/1.577, allocations: 86.35 MB / 0.9955 GB, free: 50.05 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++ 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.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