Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008062/0.0008059, allocations: 100.1 kB / 15.71 MB, free: 448 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.000927/0.000927, allocations: 177.2 kB / 16.59 MB, free: 6.859 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.568/1.568, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.126/1.126, allocations: 135.3 MB / 427 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004808, allocations: 8 kB / 0.5076 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2089, allocations: 82.31 MB / 0.588 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6948/0.9037, allocations: 147.8 MB / 0.7323 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04761/0.9514, allocations: 25.56 MB / 0.7573 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006222/0.9577, allocations: 74.31 kB / 0.7573 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003347/0.961, allocations: 0.9602 MB / 0.7583 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007743/0.9688, allocations: 1.604 MB / 0.7598 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005823/0.9746, allocations: 1.425 MB / 0.7612 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009671/0.9843, allocations: 5.478 MB / 0.7666 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006491/0.9909, allocations: 3.35 MB / 0.7699 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.9951, allocations: 1.568 MB / 0.7714 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004854/1, allocations: 2.128 MB / 0.7735 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000778/1.001, allocations: 140 kB / 0.7736 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/1.004, allocations: 0.6398 MB / 0.7742 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009749/1.005, allocations: 0.8559 MB / 0.7751 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/1.006, allocations: 0.7533 MB / 0.7758 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00598/1.012, allocations: 5.101 MB / 0.7808 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.012, allocations: 4 kB / 0.7808 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/1.012, allocations: 0 / 0.7808 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001917/1.012, allocations: 0 / 0.7808 GB, free: 6.805 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01049/1.023, allocations: 4.356 MB / 0.785 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.023, allocations: 12.03 kB / 0.785 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/1.036, allocations: 2.947 MB / 0.7879 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/1.042, allocations: 2.432 MB / 0.7903 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/1.043, allocations: 283.5 kB / 0.7906 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/1.044, allocations: 364 kB / 0.7909 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/1.059, allocations: 5.743 MB / 0.7965 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.782e-05/1.059, allocations: 8 kB / 0.7965 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/1.059, allocations: 152 kB / 0.7967 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.252e-05/1.059, allocations: 88 kB / 0.7968 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/1.076, allocations: 6.92 MB / 0.8035 GB, free: 15.3 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.03356/1.11, allocations: 17.41 MB / 0.8205 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008678/1.118, allocations: 4.481 MB / 0.8249 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005492/1.124, allocations: 3.087 MB / 0.8279 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009877/1.125, allocations: 0.6738 MB / 0.8286 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005569/1.13, allocations: 2.721 MB / 0.8312 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 5.601e-06/1.13, allocations: 0 / 0.8312 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.02324/1.154, allocations: 9.597 MB / 0.8406 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/1.154, allocations: 218.4 kB / 0.8408 GB, free: 8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005192/1.159, allocations: 2.631 MB / 0.8434 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/1.16, allocations: 81.7 kB / 0.8435 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001968/1.162, allocations: 1.542 MB / 0.845 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002402/1.165, allocations: 1.043 MB / 0.846 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/1.165, allocations: 56 kB / 0.846 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003505/1.165, allocations: 427.6 kB / 0.8464 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/1.17, allocations: 2.172 MB / 0.8486 GB, free: 4 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005073/1.175, allocations: 2.521 MB / 0.851 GB, free: 13.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/1.18, allocations: 2.359 MB / 0.8533 GB, free: 11.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.18, allocations: 0 / 0.8533 GB, free: 11.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01248/1.193, allocations: 5.792 MB / 0.859 GB, free: 5.195 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/1.193, allocations: 8 kB / 0.859 GB, free: 5.188 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.193, allocations: 4 kB / 0.859 GB, free: 5.184 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/1.195, allocations: 0.8239 MB / 0.8598 GB, free: 4.359 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/1.199, allocations: 0.8112 MB / 0.8606 GB, free: 3.547 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.493/1.692, allocations: 6.979 MB / 0.8674 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.696, allocations: 0.6041 MB / 0.868 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007575/1.697, allocations: 120.7 kB / 0.8681 GB, free: 208.2 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 ($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.002769/1.7, allocations: 1.031 MB / 0.8691 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000894/1.701, allocations: 304.6 kB / 0.8694 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.714, allocations: 6.398 MB / 0.8757 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/1.714, allocations: 31.31 kB / 0.8757 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.714, allocations: 11.59 kB / 0.8757 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/1.714, allocations: 20.81 kB / 0.8757 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/1.734, allocations: 10.7 MB / 0.8862 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.734, allocations: 3.953 kB / 0.8862 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/1.738, allocations: 0.7738 MB / 0.8869 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/1.739, allocations: 0.7323 MB / 0.8876 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/1.74, allocations: 85.69 kB / 0.8877 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/1.75, allocations: 9.786 MB / 0.8973 GB, free: 196.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.75, allocations: 3.938 kB / 0.8973 GB, free: 196.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0237/1.773, allocations: 9.057 MB / 0.9061 GB, free: 193.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003191/1.777, allocations: 0.9384 MB / 0.907 GB, free: 192.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006144/1.777, allocations: 64.47 kB / 0.9071 GB, free: 192.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/1.781, allocations: 449.9 kB / 0.9075 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006915/1.781, allocations: 213 kB / 0.9077 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/1.782, allocations: 105.9 kB / 0.9078 GB, free: 192.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003865/1.785, allocations: 1.907 MB / 0.9097 GB, free: 191.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.11e-07/1.785, allocations: 0 / 0.9097 GB, free: 191.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005068/1.79, allocations: 1.226 MB / 0.9109 GB, free: 191.5 MB / 0.67 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.002883/1.793, allocations: 1.031 MB / 0.9119 GB, free: 191.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01446/1.808, allocations: 5.501 MB / 0.9173 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.808, allocations: 1.031 kB / 0.9173 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008263/1.816, allocations: 3.313 MB / 0.9205 GB, free: 188.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/1.821, allocations: 0.7099 MB / 0.9212 GB, free: 187.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/1.843, allocations: 10.46 MB / 0.9314 GB, free: 182.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/1.846, allocations: 2.631 MB / 0.934 GB, free: 181.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002351/1.849, allocations: 315.4 kB / 0.9343 GB, free: 181.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/1.849, allocations: 3.938 kB / 0.9343 GB, free: 181.6 MB / 0.67 GB Notification: Performance of Templates: time 0.1284/1.977, allocations: 101.1 MB / 1.033 GB, free: 86.92 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f IDEAS_dev_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-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.SimpleRoomFourElementsCalcHelperMain.o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o] Error 1