Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01127/0.01127, allocations: 106.7 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00128/0.00128, allocations: 180.6 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.092/2.092, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.372/2.372, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005026, allocations: 15.94 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7767, allocations: 98.7 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.005754/0.7825, allocations: 2.486 MB / 0.6859 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003986/0.7866, allocations: 1.097 MB / 0.6869 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007213/0.7874, allocations: 12.69 kB / 0.6869 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.7877, allocations: 45.98 kB / 0.687 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008215/0.7885, allocations: 95.73 kB / 0.6871 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.7901, allocations: 244.3 kB / 0.6873 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.7918, allocations: 409.4 kB / 0.6877 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.793, allocations: 348.7 kB / 0.688 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.7936, allocations: 170.3 kB / 0.6882 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.7941, allocations: 183.1 kB / 0.6884 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.7942, allocations: 17.97 kB / 0.6884 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.7944, allocations: 26.97 kB / 0.6884 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.7946, allocations: 78.17 kB / 0.6885 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.7948, allocations: 109.3 kB / 0.6886 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.7962, allocations: 0.5296 MB / 0.6891 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7963, allocations: 1.156 kB / 0.6891 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7963, allocations: 0 / 0.6891 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.988e-05/0.7964, allocations: 0 / 0.6891 GB, free: 13.22 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.003431/0.7998, allocations: 0.7949 MB / 0.6899 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.7999, allocations: 13.2 kB / 0.6899 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003329/0.8002, allocations: 85.52 kB / 0.69 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.8005, allocations: 61.27 kB / 0.69 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.802, allocations: 427.8 kB / 0.6904 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.8022, allocations: 38.56 kB / 0.6905 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.8024, allocations: 48.27 kB / 0.6905 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.805, allocations: 0.5326 MB / 0.691 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.8051, allocations: 4.969 kB / 0.6911 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.8052, allocations: 17.05 kB / 0.6911 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.8053, allocations: 10.97 kB / 0.6911 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.8081, allocations: 429.4 kB / 0.6915 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.8135, allocations: 1.84 MB / 0.6933 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.816, allocations: 373.7 kB / 0.6936 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.62e-05/0.8162, allocations: 4.625 kB / 0.6936 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.8175, allocations: 224.7 kB / 0.6939 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 6.001e-06/0.8176, allocations: 0 / 0.6939 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.003171/0.8207, allocations: 0.5038 MB / 0.6944 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.8209, allocations: 60.48 kB / 0.6944 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.822, allocations: 402.8 kB / 0.6948 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.8222, allocations: 45.42 kB / 0.6948 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.8225, allocations: 252.4 kB / 0.6951 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.8228, allocations: 96.36 kB / 0.6952 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.8228, allocations: 6.438 kB / 0.6952 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.823, allocations: 359.2 kB / 0.6955 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.8241, allocations: 165.9 kB / 0.6957 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.8254, allocations: 270.2 kB / 0.6959 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.8266, allocations: 203.8 kB / 0.6961 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.8267, allocations: 1.125 kB / 0.6961 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002895/0.8296, allocations: 0.534 MB / 0.6967 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004118/0.83, allocations: 1.246 MB / 0.6979 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.8301, allocations: 3.406 kB / 0.6979 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.101e-05/0.8301, allocations: 6.375 kB / 0.6979 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/0.8311, allocations: 85.66 kB / 0.698 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/0.8312, allocations: 14.28 kB / 0.698 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.8322, allocations: 78.75 kB / 0.698 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.8324, allocations: 24.2 kB / 0.6981 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8324, allocations: 4.125 kB / 0.6981 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002569/0.835, allocations: 481 kB / 0.6985 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.8351, allocations: 6.734 kB / 0.6985 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.8351, allocations: 7.219 kB / 0.6985 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.8359, allocations: 82.39 kB / 0.6986 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/0.836, allocations: 10.89 kB / 0.6986 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.837, allocations: 79.8 kB / 0.6987 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.8371, allocations: 20.39 kB / 0.6987 GB, free: 6.828 MB / 0.5261 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.00067/0.8378, allocations: 281 kB / 0.699 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.838, allocations: 43.25 kB / 0.699 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.8403, allocations: 402.7 kB / 0.6994 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.8403, allocations: 8.188 kB / 0.6994 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.8404, allocations: 0 / 0.6994 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.8404, allocations: 3.547 kB / 0.6994 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.8432, allocations: 0.9788 MB / 0.7004 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.8433, allocations: 3.984 kB / 0.7004 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.8438, allocations: 58.44 kB / 0.7005 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.8438, allocations: 1.375 kB / 0.7005 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.8439, allocations: 14.73 kB / 0.7005 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.8439, allocations: 5.312 kB / 0.7005 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8439, allocations: 1.375 kB / 0.7005 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.8463, allocations: 0.6853 MB / 0.7011 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.8466, allocations: 143.7 kB / 0.7013 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.8467, allocations: 15.34 kB / 0.7013 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.8473, allocations: 41.98 kB / 0.7013 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.8476, allocations: 50.12 kB / 0.7014 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.8476, allocations: 12.88 kB / 0.7014 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004551/0.8481, allocations: 264.6 kB / 0.7016 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8481, allocations: 0 / 0.7016 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001021/0.8491, allocations: 175.6 kB / 0.7018 GB, free: 4.789 MB / 0.5261 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.002872/0.852, allocations: 1.3 MB / 0.7031 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002759/0.8549, allocations: 0.7508 MB / 0.7038 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.8549, allocations: 4.062 kB / 0.7038 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008437/0.8558, allocations: 183.6 kB / 0.704 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.8566, allocations: 85.22 kB / 0.7041 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009021/0.8656, allocations: 4.458 MB / 0.7084 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.8664, allocations: 0.8411 MB / 0.7093 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005849/0.867, allocations: 62.12 kB / 0.7093 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/0.8674, allocations: 161.7 kB / 0.7095 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of SimCode: time 1.323e-06/0.8674, allocations: 0 / 0.7095 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05251/0.92, allocations: 8.831 MB / 0.7181 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/0.9203, allocations: 209.1 kB / 0.7183 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/3.839, allocations: 0 / 0.7183 GB, free: 10.02 MB / 0.5417 GB