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.001006/0.001006, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009845/0.0009844, allocations: 198.2 kB / 16.79 MB, free: 6.828 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.314/1.314, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.717/0.717, allocations: 132.2 MB / 422.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 58.91 kB / 0.5017 GB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5068, allocations: 80.21 MB / 0.58 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1751/0.6819, allocations: 160.7 MB / 0.737 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0364/0.7183, allocations: 27.27 MB / 0.7636 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005107/0.7235, allocations: 83.56 kB / 0.7637 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003698/0.7273, allocations: 0.9915 MB / 0.7646 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006913/0.7342, allocations: 1.708 MB / 0.7663 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006092/0.7403, allocations: 1.745 MB / 0.768 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009741/0.7501, allocations: 6.175 MB / 0.774 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00803/0.7582, allocations: 4.346 MB / 0.7783 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.7629, allocations: 1.911 MB / 0.7801 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004941/0.7679, allocations: 2.65 MB / 0.7827 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.7699, allocations: 288 kB / 0.783 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.7737, allocations: 0.8936 MB / 0.7839 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.776, allocations: 1.102 MB / 0.785 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006171/0.7822, allocations: 2.125 MB / 0.787 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007517/0.7897, allocations: 5.243 MB / 0.7922 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.7898, allocations: 0 / 0.7922 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7898, allocations: 0 / 0.7922 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002996/0.7901, allocations: 0 / 0.7922 GB, free: 7.793 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.0157/0.8058, allocations: 5.098 MB / 0.7971 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.8059, allocations: 8.031 kB / 0.7971 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/0.8203, allocations: 2.838 MB / 0.7999 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006805/0.8271, allocations: 2.518 MB / 0.8024 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003199/0.8275, allocations: 279.5 kB / 0.8026 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.8291, allocations: 368 kB / 0.803 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.8474, allocations: 5.728 MB / 0.8086 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/0.8476, allocations: 4 kB / 0.8086 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/0.849, allocations: 155.9 kB / 0.8087 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.8491, allocations: 96 kB / 0.8088 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.467/1.316, allocations: 6.848 MB / 0.8155 GB, free: 213.6 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.03599/1.352, allocations: 17.37 MB / 0.8325 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009576/1.362, allocations: 4.49 MB / 0.8369 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005925/1.368, allocations: 2.943 MB / 0.8397 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008724/1.369, allocations: 0.6718 MB / 0.8404 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005886/1.375, allocations: 2.734 MB / 0.8431 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 5.841e-06/1.375, allocations: 0 / 0.8431 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02359/1.398, allocations: 9.701 MB / 0.8525 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.398, allocations: 212.1 kB / 0.8527 GB, free: 193.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/1.403, allocations: 2.654 MB / 0.8553 GB, free: 191.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005845/1.403, allocations: 85.7 kB / 0.8554 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/1.404, allocations: 1.534 MB / 0.8569 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.406, allocations: 1.049 MB / 0.8579 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/1.407, allocations: 0.5408 MB / 0.8585 GB, free: 188.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.403e-05/1.407, allocations: 301.1 kB / 0.8587 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004364/1.412, allocations: 2.179 MB / 0.8609 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/1.416, allocations: 2.529 MB / 0.8633 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00887/1.425, allocations: 4.7 MB / 0.8679 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.425, allocations: 8 kB / 0.8679 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01145/1.437, allocations: 5.808 MB / 0.8736 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.437, allocations: 4 kB / 0.8736 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.437, allocations: 4 kB / 0.8736 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/1.438, allocations: 0.8396 MB / 0.8744 GB, free: 172.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/1.442, allocations: 0.8034 MB / 0.8752 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008589/1.451, allocations: 7.018 MB / 0.8821 GB, free: 164.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/1.455, allocations: 0.5829 MB / 0.8827 GB, free: 163.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007507/1.455, allocations: 127.9 kB / 0.8828 GB, free: 163.4 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.00283/1.458, allocations: 1.02 MB / 0.8838 GB, free: 162.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/1.459, allocations: 312.1 kB / 0.8841 GB, free: 162.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/1.474, allocations: 6.382 MB / 0.8903 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/1.474, allocations: 32 kB / 0.8903 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/1.474, allocations: 8 kB / 0.8903 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-05/1.474, allocations: 15.94 kB / 0.8904 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/1.494, allocations: 10.72 MB / 0.9008 GB, free: 144.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.494, allocations: 0 / 0.9008 GB, free: 144.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/1.497, allocations: 0.7645 MB / 0.9016 GB, free: 144 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/1.499, allocations: 0.7379 MB / 0.9023 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003867/1.499, allocations: 87.92 kB / 0.9024 GB, free: 143.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009261/1.509, allocations: 9.793 MB / 0.9119 GB, free: 133 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.509, allocations: 4 kB / 0.9119 GB, free: 133 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/1.526, allocations: 9.071 MB / 0.9208 GB, free: 123.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/1.528, allocations: 0.8985 MB / 0.9217 GB, free: 122.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.53, allocations: 67.84 kB / 0.9217 GB, free: 122.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/1.533, allocations: 439.2 kB / 0.9222 GB, free: 122.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006446/1.534, allocations: 206.3 kB / 0.9224 GB, free: 122.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003964/1.534, allocations: 111.9 kB / 0.9225 GB, free: 122.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003036/1.537, allocations: 1.92 MB / 0.9243 GB, free: 120.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.41e-07/1.537, allocations: 0 / 0.9243 GB, free: 120.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00412/1.542, allocations: 1.222 MB / 0.9255 GB, free: 119 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.002651/1.544, allocations: 1.037 MB / 0.9265 GB, free: 118.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.555, allocations: 5.501 MB / 0.9319 GB, free: 112.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.555, allocations: 0.6875 kB / 0.9319 GB, free: 112.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00631/1.562, allocations: 3.327 MB / 0.9352 GB, free: 109.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/1.566, allocations: 0.7188 MB / 0.9359 GB, free: 108.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.583, allocations: 10.63 MB / 0.9463 GB, free: 98.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/1.586, allocations: 2.628 MB / 0.9488 GB, free: 95.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/1.589, allocations: 319.2 kB / 0.9491 GB, free: 95.15 MB / 0.6387 GB Notification: Performance of SimCode: time 2.334e-06/1.589, allocations: 3.938 kB / 0.9491 GB, free: 95.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.103/1.692, allocations: 101.6 MB / 1.048 GB, free: 9.715 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