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.007972/0.007971, allocations: 101 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 194.3 kB / 16.79 MB, free: 5.809 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7709/0.7709, allocations: 132.2 MB / 422.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 48.12 kB / 0.5017 GB, free: 9.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1923, allocations: 80.21 MB / 0.58 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5217/0.7141, allocations: 159.4 MB / 0.7356 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03818/0.7523, allocations: 26.88 MB / 0.7619 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005027/0.7574, allocations: 71.62 kB / 0.762 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.7606, allocations: 0.945 MB / 0.7629 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005835/0.7664, allocations: 1.585 MB / 0.7644 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.7711, allocations: 1.586 MB / 0.766 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006773/0.7779, allocations: 5.466 MB / 0.7713 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005573/0.7835, allocations: 4.046 MB / 0.7753 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.7868, allocations: 1.755 MB / 0.777 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003768/0.7906, allocations: 2.428 MB / 0.7794 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007392/0.7914, allocations: 264 kB / 0.7796 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.7937, allocations: 0.8585 MB / 0.7804 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009181/0.7947, allocations: 1.008 MB / 0.7814 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.7971, allocations: 1.935 MB / 0.7833 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.8023, allocations: 4.803 MB / 0.788 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8023, allocations: 0 / 0.788 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8023, allocations: 0 / 0.788 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001719/0.8025, allocations: 0 / 0.788 GB, free: 14.18 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.0101/0.8126, allocations: 4.75 MB / 0.7926 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8127, allocations: 8.031 kB / 0.7927 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.826, allocations: 2.795 MB / 0.7954 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/0.8313, allocations: 2.373 MB / 0.7977 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.8316, allocations: 258.9 kB / 0.798 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008124/0.8324, allocations: 336 kB / 0.7983 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.8454, allocations: 5.381 MB / 0.8035 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.329e-05/0.8455, allocations: 4 kB / 0.8035 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004438/0.846, allocations: 151.9 kB / 0.8037 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/0.8461, allocations: 84 kB / 0.8038 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.8621, allocations: 6.53 MB / 0.8101 GB, free: 7.289 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.03727/0.8994, allocations: 15.71 MB / 0.8255 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009588/0.909, allocations: 4.083 MB / 0.8295 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005907/0.915, allocations: 2.647 MB / 0.832 GB, free: 216 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.9162, allocations: 0.6853 MB / 0.8327 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006702/0.9229, allocations: 2.569 MB / 0.8352 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 6.522e-06/0.923, allocations: 0 / 0.8352 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02395/0.9469, allocations: 8.386 MB / 0.8434 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.9471, allocations: 210.2 kB / 0.8436 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/0.9516, allocations: 2.513 MB / 0.8461 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000813/0.9524, allocations: 77.7 kB / 0.8461 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.954, allocations: 1.432 MB / 0.8475 GB, free: 15.96 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/0.9557, allocations: 0.9588 MB / 0.8485 GB, free: 14.99 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00218/0.9579, allocations: 0.505 MB / 0.849 GB, free: 14.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.958, allocations: 313.1 kB / 0.8493 GB, free: 14.17 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005022/0.963, allocations: 2.058 MB / 0.8513 GB, free: 12.11 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005369/0.9684, allocations: 2.369 MB / 0.8536 GB, free: 9.664 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.9786, allocations: 4.431 MB / 0.8579 GB, free: 5.148 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/0.9787, allocations: 4 kB / 0.8579 GB, free: 5.145 MB / 0.67 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.3543/1.333, allocations: 5.317 MB / 0.8631 GB, free: 217.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.333, allocations: 10.28 kB / 0.8631 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.333, allocations: 3.781 kB / 0.8631 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/1.334, allocations: 0.5474 MB / 0.8637 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/1.338, allocations: 0.7923 MB / 0.8644 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/1.344, allocations: 5.276 MB / 0.8696 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003879/1.348, allocations: 0.5634 MB / 0.8701 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/1.349, allocations: 116.5 kB / 0.8703 GB, free: 215.8 MB / 0.67 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001803/1.35, allocations: 0.9719 MB / 0.8712 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/1.351, allocations: 288.9 kB / 0.8715 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.363, allocations: 5.885 MB / 0.8772 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/1.363, allocations: 30.94 kB / 0.8773 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/1.363, allocations: 10.39 kB / 0.8773 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/1.363, allocations: 14.72 kB / 0.8773 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/1.381, allocations: 9.889 MB / 0.8869 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.381, allocations: 1.125 kB / 0.8869 GB, free: 210.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003394/1.385, allocations: 0.748 MB / 0.8877 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/1.386, allocations: 0.5347 MB / 0.8882 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/1.386, allocations: 80.64 kB / 0.8883 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00689/1.393, allocations: 6.945 MB / 0.895 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.393, allocations: 4.312 kB / 0.8951 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.411, allocations: 8.387 MB / 0.9032 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.413, allocations: 0.8457 MB / 0.9041 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000519/1.414, allocations: 70.66 kB / 0.9041 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.417, allocations: 418.8 kB / 0.9045 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005532/1.418, allocations: 189.5 kB / 0.9047 GB, free: 201.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002797/1.418, allocations: 105.7 kB / 0.9048 GB, free: 201.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00339/1.421, allocations: 1.831 MB / 0.9066 GB, free: 200.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.91e-07/1.421, allocations: 0 / 0.9066 GB, free: 200.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003782/1.425, allocations: 1.11 MB / 0.9077 GB, free: 200.5 MB / 0.67 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,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.002483/1.428, allocations: 1.029 MB / 0.9087 GB, free: 200.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.44, allocations: 5.095 MB / 0.9137 GB, free: 198.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.44, allocations: 1.531 kB / 0.9137 GB, free: 198.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006714/1.447, allocations: 2.941 MB / 0.9165 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/1.451, allocations: 0.6682 MB / 0.9172 GB, free: 197.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.467, allocations: 9.86 MB / 0.9268 GB, free: 192.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00194/1.469, allocations: 2.474 MB / 0.9292 GB, free: 191.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/1.471, allocations: 315.7 kB / 0.9295 GB, free: 191.2 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/1.471, allocations: 0 / 0.9295 GB, free: 191.2 MB / 0.67 GB Notification: Performance of Templates: time 0.0806/1.552, allocations: 86.78 MB / 1.014 GB, free: 111.4 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.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