Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_latest_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.001049/0.001049, 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.001528/0.001528, allocations: 177.2 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.559/1.559, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.931/2.931, allocations: 436.7 MB / 0.7113 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005206, allocations: 8 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.043, allocations: 153.7 MB / 1.022 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.00348/1.047, allocations: 2.511 MB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002269/1.049, allocations: 1.048 MB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/1.049, allocations: 15.94 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002552/1.05, allocations: 59.45 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001727/1.05, allocations: 47.52 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/1.051, allocations: 231.6 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000709/1.051, allocations: 0.6131 MB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/1.052, allocations: 360.1 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/1.052, allocations: 163.2 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/1.052, allocations: 187 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/1.052, allocations: 20 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/1.053, allocations: 23.98 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/1.053, allocations: 83.61 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/1.053, allocations: 109.5 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/1.053, allocations: 0.5435 MB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.053, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.452e-06/1.053, allocations: 4 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.053, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.7794 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.001486/1.055, allocations: 0.7972 MB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.055, allocations: 8.031 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/1.055, allocations: 59.34 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/1.056, allocations: 423.6 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/1.056, allocations: 48.98 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/1.056, allocations: 47.95 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009871/1.057, allocations: 0.5391 MB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/1.057, allocations: 7.938 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/1.057, allocations: 16 kB / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/1.057, allocations: 16 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00094/1.058, allocations: 419.6 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/1.06, allocations: 1.864 MB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/1.061, allocations: 381.4 kB / 1.032 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/1.062, allocations: 181.6 kB / 1.032 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/1.062, allocations: 8 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/1.062, allocations: 261.7 kB / 1.032 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.986e-06/1.062, allocations: 0 / 1.032 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.00127/1.064, allocations: 0.5151 MB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/1.064, allocations: 85.11 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/1.064, allocations: 401.4 kB / 1.033 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/1.064, allocations: 41.83 kB / 1.034 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/1.064, allocations: 252.2 kB / 1.034 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/1.065, allocations: 102.7 kB / 1.034 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/1.065, allocations: 8 kB / 1.034 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.065, allocations: 354.8 kB / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/1.065, allocations: 169 kB / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/1.066, allocations: 281 kB / 1.035 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/1.066, allocations: 195.5 kB / 1.035 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.066, allocations: 0 / 1.035 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001045/1.067, allocations: 0.5339 MB / 1.035 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/1.067, allocations: 42.09 kB / 1.035 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.067, allocations: 8 kB / 1.035 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.067, allocations: 4 kB / 1.035 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/1.068, allocations: 79.83 kB / 1.035 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/1.068, allocations: 15.94 kB / 1.035 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/1.068, allocations: 83.41 kB / 1.036 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/1.068, allocations: 19.98 kB / 1.036 GB, free: 2.625 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,$PRE.preHeatCoil.toOn.t_start,preHeatCoil.toOn.t_start,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 (59): * Single equations (assignments): 58 * 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.000284/1.068, allocations: 205.6 kB / 1.036 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/1.069, allocations: 47.52 kB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009419/1.069, allocations: 418.5 kB / 1.036 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.069, allocations: 4 kB / 1.036 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.069, allocations: 0 / 1.036 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.07, allocations: 7.953 kB / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/1.071, allocations: 0.9748 MB / 1.037 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.071, allocations: 7.938 kB / 1.037 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/1.071, allocations: 55.89 kB / 1.037 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/1.071, allocations: 7.953 kB / 1.037 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/1.071, allocations: 11.98 kB / 1.037 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.071, allocations: 0 / 1.037 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.071, allocations: 0 / 1.037 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/1.073, allocations: 0.6719 MB / 1.038 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/1.073, allocations: 156.4 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/1.073, allocations: 11.95 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/1.073, allocations: 43.95 kB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.073, allocations: 55.84 kB / 1.038 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/1.073, allocations: 12 kB / 1.038 GB, free: 15.84 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003041/1.074, allocations: 263.2 kB / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 0 / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004649/1.074, allocations: 95.69 kB / 1.039 GB, free: 15.49 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 21 (preHeatCoil.toOn.t_start,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: 5 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y,preHeatCoil.toOn.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002174/1.074, allocations: 131.8 kB / 1.039 GB, free: 15.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001055/1.076, allocations: 451.5 kB / 1.039 GB, free: 14.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/1.076, allocations: 0 / 1.039 GB, free: 14.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004784/1.076, allocations: 200.2 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/1.077, allocations: 80.97 kB / 1.039 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/1.079, allocations: 0.9005 MB / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/1.079, allocations: 0.8235 MB / 1.041 GB, free: 12.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/1.079, allocations: 39.42 kB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of SimCode: time 4.027e-06/1.079, allocations: 4 kB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of Templates: time 0.01355/1.093, allocations: 5.871 MB / 1.047 GB, free: 6.945 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoilCalcHelperMain.o] Error 1