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.0008232/0.0008233, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009235/0.0009236, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.38/1.38, 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/package.mo): time 0.7398/0.7398, allocations: 132.3 MB / 424 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 8 kB / 0.504 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5358, allocations: 81.57 MB / 0.5837 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1947/0.7305, allocations: 147.8 MB / 0.728 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03644/0.767, allocations: 25.56 MB / 0.753 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004008/0.771, allocations: 79.56 kB / 0.753 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.7737, allocations: 0.9486 MB / 0.754 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.7793, allocations: 1.612 MB / 0.7555 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004719/0.784, allocations: 1.425 MB / 0.7569 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00778/0.7918, allocations: 5.476 MB / 0.7623 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005379/0.7972, allocations: 3.364 MB / 0.7656 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.8006, allocations: 1.571 MB / 0.7671 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.8046, allocations: 2.126 MB / 0.7692 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007367/0.8053, allocations: 139.9 kB / 0.7693 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.8081, allocations: 0.6361 MB / 0.7699 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.8095, allocations: 0.852 MB / 0.7708 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.8115, allocations: 0.7533 MB / 0.7715 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009086/0.8206, allocations: 5.101 MB / 0.7765 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.8207, allocations: 0 / 0.7765 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.276e-06/0.8207, allocations: 0 / 0.7765 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002726/0.821, allocations: 0 / 0.7765 GB, free: 10.64 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.0109/0.8319, allocations: 4.362 MB / 0.7807 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.832, allocations: 8.031 kB / 0.7807 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/0.845, allocations: 2.943 MB / 0.7836 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005853/0.8509, allocations: 2.432 MB / 0.786 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.8511, allocations: 283.5 kB / 0.7863 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.8522, allocations: 372 kB / 0.7866 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.8667, allocations: 5.743 MB / 0.7922 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-05/0.8668, allocations: 4 kB / 0.7922 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/0.8672, allocations: 156 kB / 0.7924 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.8673, allocations: 92 kB / 0.7925 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.8841, allocations: 6.913 MB / 0.7992 GB, free: 3.117 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.03353/0.9177, allocations: 17.41 MB / 0.8162 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4543/1.372, allocations: 4.478 MB / 0.8206 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008451/1.381, allocations: 3.086 MB / 0.8236 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/1.382, allocations: 0.6785 MB / 0.8243 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007887/1.39, allocations: 2.718 MB / 0.8269 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 8.266e-06/1.39, allocations: 0 / 0.8269 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02604/1.416, allocations: 9.592 MB / 0.8363 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.416, allocations: 217.3 kB / 0.8365 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/1.42, allocations: 2.645 MB / 0.8391 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007297/1.421, allocations: 82.53 kB / 0.8392 GB, free: 204 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/1.422, allocations: 1.545 MB / 0.8407 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.424, allocations: 1.051 MB / 0.8417 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/1.424, allocations: 56.22 kB / 0.8417 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.424, allocations: 413.8 kB / 0.8421 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004218/1.428, allocations: 2.179 MB / 0.8443 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/1.433, allocations: 2.517 MB / 0.8467 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/1.437, allocations: 2.358 MB / 0.849 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/1.437, allocations: 0 / 0.849 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01166/1.449, allocations: 5.792 MB / 0.8547 GB, free: 194 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/1.449, allocations: 8 kB / 0.8547 GB, free: 194 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.449, allocations: 4 kB / 0.8547 GB, free: 194 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/1.451, allocations: 0.824 MB / 0.8555 GB, free: 193.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/1.455, allocations: 0.8112 MB / 0.8563 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008105/1.463, allocations: 6.991 MB / 0.8631 GB, free: 185.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.467, allocations: 0.5984 MB / 0.8637 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006525/1.468, allocations: 119.7 kB / 0.8638 GB, free: 184.5 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 (291): * Single equations (assignments): 290 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002509/1.47, allocations: 1.038 MB / 0.8648 GB, free: 183.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007579/1.471, allocations: 304.2 kB / 0.8651 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.483, allocations: 6.406 MB / 0.8714 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/1.483, allocations: 32 kB / 0.8714 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.483, allocations: 12 kB / 0.8714 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.483, allocations: 15.94 kB / 0.8714 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/1.501, allocations: 10.7 MB / 0.8819 GB, free: 165.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.502, allocations: 0 / 0.8819 GB, free: 165.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/1.505, allocations: 0.7722 MB / 0.8826 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/1.507, allocations: 0.7379 MB / 0.8834 GB, free: 164.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004348/1.507, allocations: 83.92 kB / 0.8834 GB, free: 164.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00879/1.516, allocations: 9.785 MB / 0.893 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.516, allocations: 4.141 kB / 0.893 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/1.533, allocations: 9.058 MB / 0.9018 GB, free: 144.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/1.535, allocations: 0.9374 MB / 0.9028 GB, free: 144 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006741/1.536, allocations: 60 kB / 0.9028 GB, free: 143.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/1.539, allocations: 447.2 kB / 0.9032 GB, free: 143.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/1.539, allocations: 214.3 kB / 0.9034 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.54, allocations: 107.9 kB / 0.9036 GB, free: 143.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002405/1.542, allocations: 1.905 MB / 0.9054 GB, free: 141.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/1.542, allocations: 0 / 0.9054 GB, free: 141.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003609/1.546, allocations: 1.227 MB / 0.9066 GB, free: 140 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002379/1.548, allocations: 1.018 MB / 0.9076 GB, free: 139.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.56, allocations: 5.501 MB / 0.913 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.56, allocations: 0 / 0.913 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.007449/1.567, allocations: 3.327 MB / 0.9162 GB, free: 130.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/1.571, allocations: 0.7062 MB / 0.9169 GB, free: 129.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.587, allocations: 10.44 MB / 0.9271 GB, free: 119.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/1.589, allocations: 2.635 MB / 0.9297 GB, free: 116.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/1.591, allocations: 323.2 kB / 0.93 GB, free: 116.4 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/1.591, allocations: 0 / 0.93 GB, free: 116.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.1045/1.695, allocations: 101.1 MB / 1.029 GB, free: 15.49 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.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