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.01128/0.01128, allocations: 100.8 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.002434/0.002434, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.724/1.724, allocations: 205.1 MB / 222.6 MB, free: 4.691 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.859/1.859, allocations: 292.3 MB / 0.5491 GB, free: 13.69 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.001801/0.001801, allocations: 65.11 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3056, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004953/0.3106, allocations: 3.02 MB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.3131, allocations: 1.146 MB / 0.7874 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.3134, allocations: 11.94 kB / 0.7874 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.3137, allocations: 59.52 kB / 0.7875 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.314, allocations: 59.5 kB / 0.7875 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.3148, allocations: 307 kB / 0.7878 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.3155, allocations: 0.6521 MB / 0.7884 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.3161, allocations: 439.7 kB / 0.7889 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.3164, allocations: 203.1 kB / 0.7891 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.3167, allocations: 230.8 kB / 0.7893 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.3167, allocations: 28 kB / 0.7893 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3169, allocations: 47.98 kB / 0.7893 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.317, allocations: 111.5 kB / 0.7895 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3172, allocations: 226.7 kB / 0.7897 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.3178, allocations: 0.5497 MB / 0.7902 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3178, allocations: 3.938 kB / 0.7902 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3178, allocations: 0 / 0.7902 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.3178, allocations: 0 / 0.7902 GB, free: 6.926 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.001877/0.3197, allocations: 0.882 MB / 0.7911 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3197, allocations: 8.031 kB / 0.7911 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.3199, allocations: 68.19 kB / 0.7911 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.3205, allocations: 432.6 kB / 0.7916 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.3206, allocations: 41.38 kB / 0.7916 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/0.3207, allocations: 52.36 kB / 0.7916 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.3217, allocations: 0.5277 MB / 0.7922 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3218, allocations: 4 kB / 0.7922 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.3218, allocations: 20 kB / 0.7922 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3218, allocations: 12 kB / 0.7922 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009878/0.3228, allocations: 403.6 kB / 0.7926 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.3252, allocations: 1.837 MB / 0.7944 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.3262, allocations: 345.7 kB / 0.7947 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.3266, allocations: 164.8 kB / 0.7949 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.3266, allocations: 15.92 kB / 0.7949 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/0.3272, allocations: 221.3 kB / 0.7951 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 2.765e-06/0.3273, allocations: 0 / 0.7951 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.001265/0.3285, allocations: 470.8 kB / 0.7955 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.3286, allocations: 59.39 kB / 0.7956 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.329, allocations: 405.3 kB / 0.796 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.3291, allocations: 53.62 kB / 0.796 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3293, allocations: 244.3 kB / 0.7963 GB, free: 468 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.87e-05/0.3294, allocations: 98.64 kB / 0.7964 GB, free: 368 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.3296, allocations: 114.2 kB / 0.7965 GB, free: 248 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3298, allocations: 346.8 kB / 0.7968 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.3302, allocations: 153 kB / 0.7969 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.3307, allocations: 261.9 kB / 0.7972 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.3315, allocations: 403.4 kB / 0.7976 GB, free: 15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3315, allocations: 0 / 0.7976 GB, free: 15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001153/0.3327, allocations: 0.5262 MB / 0.7981 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.3328, allocations: 33.7 kB / 0.7981 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3328, allocations: 0 / 0.7981 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.3328, allocations: 8 kB / 0.7981 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.3332, allocations: 75.81 kB / 0.7982 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.3332, allocations: 8 kB / 0.7982 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.3336, allocations: 79.59 kB / 0.7983 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.3337, allocations: 20 kB / 0.7983 GB, free: 14.24 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,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003601/0.3341, allocations: 210.2 kB / 0.7985 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.3342, allocations: 47.47 kB / 0.7985 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.3352, allocations: 386.2 kB / 0.7989 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3352, allocations: 0 / 0.7989 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3352, allocations: 4 kB / 0.7989 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3352, allocations: 0 / 0.7989 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.337, allocations: 0.9528 MB / 0.7999 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3371, allocations: 0 / 0.7999 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.3373, allocations: 43.95 kB / 0.7999 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3374, allocations: 0 / 0.7999 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.3374, allocations: 8 kB / 0.7999 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.3374, allocations: 12.02 kB / 0.7999 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3374, allocations: 3.938 kB / 0.7999 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.3388, allocations: 0.6321 MB / 0.8005 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.339, allocations: 148.4 kB / 0.8007 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.3391, allocations: 8 kB / 0.8007 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.3394, allocations: 31.95 kB / 0.8007 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.3396, allocations: 47.89 kB / 0.8008 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.3396, allocations: 11.98 kB / 0.8008 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003151/0.3399, allocations: 271.2 kB / 0.801 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3399, allocations: 0 / 0.801 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000481/0.3404, allocations: 99.69 kB / 0.8011 GB, free: 11.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/0.3406, allocations: 125.4 kB / 0.8012 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009815/0.3416, allocations: 438.8 kB / 0.8017 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3416, allocations: 0 / 0.8017 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.3421, allocations: 172.7 kB / 0.8018 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.3427, allocations: 81.52 kB / 0.8019 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3443, allocations: 0.9299 MB / 0.8028 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.3448, allocations: 0.8274 MB / 0.8036 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.3449, allocations: 39.42 kB / 0.8037 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.3449, allocations: 0 / 0.8037 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of Templates: time 0.01012/0.355, allocations: 5.911 MB / 0.8094 GB, free: 2.676 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++ -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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