Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009095/0.0009094, allocations: 97.02 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.001066/0.001066, allocations: 176.9 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 222.7 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.7 MB / 0.5505 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005973/0.0005974, allocations: 12.38 kB / 0.6743 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3527, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003729/0.3565, allocations: 2.507 MB / 0.7904 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3585, allocations: 1.116 MB / 0.7915 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.3587, allocations: 15.94 kB / 0.7915 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.359, allocations: 55.45 kB / 0.7915 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.3592, allocations: 51.52 kB / 0.7916 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.3599, allocations: 227.2 kB / 0.7918 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.3606, allocations: 0.6131 MB / 0.7924 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.3611, allocations: 355.9 kB / 0.7927 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.3614, allocations: 163.2 kB / 0.7929 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.3616, allocations: 183 kB / 0.7931 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.3617, allocations: 16 kB / 0.7931 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.3618, allocations: 24 kB / 0.7931 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.3619, allocations: 83.59 kB / 0.7932 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.362, allocations: 109.5 kB / 0.7933 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.3625, allocations: 0.5341 MB / 0.7938 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3625, allocations: 4 kB / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3625, allocations: 0 / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3625, allocations: 0 / 0.7938 GB, free: 5.887 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001557/0.3641, allocations: 0.8001 MB / 0.7946 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3642, allocations: 12.03 kB / 0.7946 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3643, allocations: 59.25 kB / 0.7947 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.3649, allocations: 423.5 kB / 0.7951 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.365, allocations: 45 kB / 0.7951 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.3652, allocations: 44 kB / 0.7951 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000987/0.3661, allocations: 0.543 MB / 0.7957 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3662, allocations: 4 kB / 0.7957 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.3662, allocations: 16 kB / 0.7957 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3662, allocations: 12 kB / 0.7957 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.3671, allocations: 423.6 kB / 0.7961 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3695, allocations: 1.86 MB / 0.7979 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008984/0.3704, allocations: 362.9 kB / 0.7983 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.3708, allocations: 180.8 kB / 0.7984 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3708, allocations: 4 kB / 0.7984 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005712/0.3714, allocations: 225.5 kB / 0.7987 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.3714, allocations: 4 kB / 0.7987 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.001209/0.3726, allocations: 0.4907 MB / 0.7991 GB, free: 180 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3727, allocations: 59.41 kB / 0.7992 GB, free: 108 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.3732, allocations: 405.4 kB / 0.7996 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3732, allocations: 45.7 kB / 0.7996 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.3734, allocations: 256.1 kB / 0.7999 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3736, allocations: 98.73 kB / 0.8 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.3736, allocations: 4 kB / 0.8 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3738, allocations: 354.8 kB / 0.8003 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.3742, allocations: 169 kB / 0.8005 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.3746, allocations: 265.9 kB / 0.8007 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.375, allocations: 207.2 kB / 0.8009 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3751, allocations: 0 / 0.8009 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001041/0.3761, allocations: 0.5459 MB / 0.8015 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.3762, allocations: 37.64 kB / 0.8015 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3762, allocations: 4 kB / 0.8015 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.3762, allocations: 11.98 kB / 0.8015 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.3765, allocations: 75.89 kB / 0.8016 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3765, allocations: 7.938 kB / 0.8016 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.3769, allocations: 87.42 kB / 0.8017 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.3769, allocations: 20 kB / 0.8017 GB, free: 13.46 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002849/0.3772, allocations: 202.3 kB / 0.8019 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.3773, allocations: 51.48 kB / 0.8019 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009508/0.3783, allocations: 406.1 kB / 0.8023 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3783, allocations: 4 kB / 0.8023 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3783, allocations: 0 / 0.8023 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3783, allocations: 3.984 kB / 0.8023 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.3799, allocations: 0.9763 MB / 0.8033 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3799, allocations: 0 / 0.8033 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.3802, allocations: 47.91 kB / 0.8033 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3802, allocations: 7.984 kB / 0.8033 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.3802, allocations: 8 kB / 0.8033 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3803, allocations: 0 / 0.8033 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3803, allocations: 4.031 kB / 0.8033 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.3816, allocations: 0.6675 MB / 0.804 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.3818, allocations: 148.5 kB / 0.8041 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.3818, allocations: 8 kB / 0.8041 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.3821, allocations: 43.95 kB / 0.8042 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.3823, allocations: 51.98 kB / 0.8042 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.3824, allocations: 8 kB / 0.8042 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003369/0.3827, allocations: 267.2 kB / 0.8045 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3827, allocations: 0 / 0.8045 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004012/0.3831, allocations: 95.69 kB / 0.8046 GB, free: 10.38 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002655/0.3834, allocations: 125.4 kB / 0.8047 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009488/0.3844, allocations: 455.4 kB / 0.8051 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3844, allocations: 3.938 kB / 0.8052 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.3848, allocations: 188.2 kB / 0.8053 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.3854, allocations: 81.41 kB / 0.8054 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.3869, allocations: 0.8989 MB / 0.8063 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.3875, allocations: 0.8235 MB / 0.8071 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3876, allocations: 39.42 kB / 0.8071 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of SimCode: time 8.72e-07/0.3876, allocations: 0 / 0.8071 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of Templates: time 0.009166/0.3968, allocations: 5.851 MB / 0.8128 GB, free: 1.879 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.o] Error 1