Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.36 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.0009587/0.000959, allocations: 176.7 kB / 16.58 MB, free: 6.418 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.557/1.557, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.119/1.119, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 12 kB / 0.5076 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 82.31 MB / 0.588 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6944/0.916, allocations: 145.1 MB / 0.7297 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04287/0.9589, allocations: 24.75 MB / 0.7539 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005412/0.9644, allocations: 69.28 kB / 0.7539 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.967, allocations: 0.8322 MB / 0.7547 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005758/0.9728, allocations: 1.36 MB / 0.7561 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.9773, allocations: 1.18 MB / 0.7572 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006819/0.9842, allocations: 4.233 MB / 0.7614 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004493/0.9887, allocations: 2.828 MB / 0.7641 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.9911, allocations: 1.276 MB / 0.7654 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.9938, allocations: 1.712 MB / 0.767 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.9942, allocations: 96 kB / 0.7671 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.9963, allocations: 0.6048 MB / 0.7677 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007041/0.997, allocations: 0.673 MB / 0.7684 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008878/0.9979, allocations: 0.5974 MB / 0.769 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005037/1.003, allocations: 4.123 MB / 0.773 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.003, allocations: 0 / 0.773 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/1.003, allocations: 0 / 0.773 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001519/1.003, allocations: 0 / 0.773 GB, free: 14.8 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008497/1.012, allocations: 3.699 MB / 0.7766 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.012, allocations: 12.02 kB / 0.7766 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/1.024, allocations: 2.862 MB / 0.7794 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/1.029, allocations: 2.107 MB / 0.7815 GB, free: 6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/1.029, allocations: 230.2 kB / 0.7817 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006904/1.03, allocations: 304 kB / 0.782 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/1.042, allocations: 4.987 MB / 0.7868 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/1.042, allocations: 7.938 kB / 0.7868 GB, free: 408 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/1.042, allocations: 128 kB / 0.787 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/1.042, allocations: 76 kB / 0.787 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/1.057, allocations: 6.169 MB / 0.7931 GB, free: 10.02 MB / 0.6075 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.02508/1.082, allocations: 13.67 MB / 0.8064 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008877/1.091, allocations: 4.329 MB / 0.8107 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004684/1.096, allocations: 2.315 MB / 0.8129 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009144/1.097, allocations: 0.6696 MB / 0.8136 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004896/1.102, allocations: 2.374 MB / 0.8159 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=257): time 5.27e-06/1.102, allocations: 0 / 0.8159 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=257): time 0.01655/1.118, allocations: 6.935 MB / 0.8227 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/1.118, allocations: 209.9 kB / 0.8229 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/1.123, allocations: 2.299 MB / 0.8251 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007423/1.123, allocations: 73.7 kB / 0.8252 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.125, allocations: 1.294 MB / 0.8264 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.126, allocations: 0.8548 MB / 0.8273 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/1.126, allocations: 48 kB / 0.8273 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002241/1.127, allocations: 394.6 kB / 0.8277 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004209/1.131, allocations: 1.89 MB / 0.8295 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004436/1.135, allocations: 2.189 MB / 0.8317 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/1.14, allocations: 2.03 MB / 0.8337 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.14, allocations: 0 / 0.8337 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01033/1.15, allocations: 4.695 MB / 0.8382 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.15, allocations: 8 kB / 0.8383 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.15, allocations: 7.984 kB / 0.8383 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/1.151, allocations: 228.6 kB / 0.8385 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003572/1.154, allocations: 0.7802 MB / 0.8392 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/1.158, allocations: 3.081 MB / 0.8422 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00413/1.162, allocations: 0.5403 MB / 0.8428 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007/1.163, allocations: 103.9 kB / 0.8429 GB, free: 5.871 MB / 0.6544 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 (272): * Single equations (assignments): 271 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003053/1.166, allocations: 0.8992 MB / 0.8438 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009019/1.167, allocations: 260.7 kB / 0.844 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/1.179, allocations: 5.281 MB / 0.8492 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/1.179, allocations: 32.06 kB / 0.8492 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.18, allocations: 3.938 kB / 0.8492 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.18, allocations: 15.95 kB / 0.8492 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.197, allocations: 8.818 MB / 0.8578 GB, free: 6.352 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.197, allocations: 0 / 0.8578 GB, free: 6.352 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003361/1.2, allocations: 0.7293 MB / 0.8585 GB, free: 5.621 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008175/1.201, allocations: 260.3 kB / 0.8588 GB, free: 5.359 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/1.201, allocations: 67.94 kB / 0.8588 GB, free: 5.293 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005436/1.207, allocations: 4.802 MB / 0.8635 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.207, allocations: 4.062 kB / 0.8635 GB, free: 200 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4952/1.702, allocations: 7.508 MB / 0.8709 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/1.704, allocations: 0.8174 MB / 0.8717 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004391/1.704, allocations: 55.25 kB / 0.8717 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/1.707, allocations: 416 kB / 0.8721 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/1.707, allocations: 167.9 kB / 0.8723 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.708, allocations: 97.42 kB / 0.8724 GB, free: 211.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002394/1.71, allocations: 1.668 MB / 0.874 GB, free: 211.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.71, allocations: 0 / 0.874 GB, free: 211.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003114/1.713, allocations: 0.9708 MB / 0.8749 GB, free: 211 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00249/1.716, allocations: 1.018 MB / 0.8759 GB, free: 210.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.726, allocations: 4.573 MB / 0.8804 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.726, allocations: 3.281 kB / 0.8804 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005417/1.732, allocations: 2.601 MB / 0.883 GB, free: 208.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/1.735, allocations: 0.5855 MB / 0.8835 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.75, allocations: 8.739 MB / 0.8921 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/1.752, allocations: 2.3 MB / 0.8943 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002203/1.754, allocations: 302.6 kB / 0.8946 GB, free: 203.2 MB / 0.67 GB Notification: Performance of SimCode: time 2.615e-06/1.754, allocations: 0 / 0.8946 GB, free: 203.2 MB / 0.67 GB Notification: Performance of Templates: time 0.1277/1.882, allocations: 78.55 MB / 0.9713 GB, free: 151.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElementCalcHelperMain.o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElementCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElementCalcHelperMain.o] Error 1