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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 3.971/3.971, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5278/4.499, allocations: 104.3 MB / 0.5319 GB, free: 12.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/4.793, allocations: 98.71 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/5.134, allocations: 131.3 MB / 0.7565 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004541/5.134, allocations: 91.58 kB / 0.7566 GB, free: 6.219 MB / 0.6355 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.05694/5.191, allocations: 9.158 MB / 0.7656 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/5.191, allocations: 12 kB / 0.7656 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/5.191, allocations: 59.25 kB / 0.7656 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009977/5.192, allocations: 427.6 kB / 0.766 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/5.192, allocations: 16 kB / 0.766 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/5.193, allocations: 28 kB / 0.7661 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001131/5.194, allocations: 317.9 kB / 0.7664 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/5.195, allocations: 447 kB / 0.7668 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/5.195, allocations: 0 / 0.7668 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/5.195, allocations: 4 kB / 0.7668 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/5.195, allocations: 8 kB / 0.7668 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/5.199, allocations: 1.796 MB / 0.7686 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/5.2, allocations: 271.2 kB / 0.7688 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/5.2, allocations: 124.8 kB / 0.7689 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/5.201, allocations: 3.984 kB / 0.769 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004588/5.201, allocations: 169.2 kB / 0.7691 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 3.466e-06/5.201, allocations: 0 / 0.7691 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0009715/5.202, allocations: 255.1 kB / 0.7694 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/5.202, allocations: 122.8 kB / 0.7695 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/5.203, allocations: 283.6 kB / 0.7697 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/5.203, allocations: 33.7 kB / 0.7698 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/5.203, allocations: 215.9 kB / 0.77 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/5.203, allocations: 94.8 kB / 0.7701 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/5.203, allocations: 0 / 0.7701 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002028/5.203, allocations: 346.8 kB / 0.7704 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/5.204, allocations: 120.9 kB / 0.7705 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/5.204, allocations: 233.6 kB / 0.7707 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/5.205, allocations: 117.9 kB / 0.7709 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/5.205, allocations: 0 / 0.7709 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001159/5.206, allocations: 385.5 kB / 0.7712 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005198/5.206, allocations: 1.145 MB / 0.7723 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/5.206, allocations: 0 / 0.7723 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/5.207, allocations: 8 kB / 0.7723 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/5.207, allocations: 91.81 kB / 0.7724 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/5.207, allocations: 4 kB / 0.7724 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008069/5.208, allocations: 67.7 kB / 0.7725 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/5.208, allocations: 23.98 kB / 0.7725 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/5.208, allocations: 8 kB / 0.7725 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009854/5.209, allocations: 295.5 kB / 0.7728 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/5.209, allocations: 0 / 0.7728 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/5.209, allocations: 8 kB / 0.7728 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/5.21, allocations: 88.19 kB / 0.7729 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/5.21, allocations: 4 kB / 0.7729 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/5.211, allocations: 59.8 kB / 0.773 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/5.211, allocations: 20 kB / 0.773 GB, free: 5.008 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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.0002661/5.211, allocations: 136.7 kB / 0.7731 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/5.211, allocations: 39.53 kB / 0.7732 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009849/5.212, allocations: 289.4 kB / 0.7734 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/5.212, allocations: 7.984 kB / 0.7734 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/5.212, allocations: 0 / 0.7734 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/5.212, allocations: 3.984 kB / 0.7734 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/5.214, allocations: 0.8078 MB / 0.7742 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/5.214, allocations: 0 / 0.7742 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/5.215, allocations: 71.86 kB / 0.7743 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/5.215, allocations: 4 kB / 0.7743 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/5.215, allocations: 0 / 0.7743 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/5.215, allocations: 4 kB / 0.7743 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/5.215, allocations: 3.906 kB / 0.7743 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001346/5.216, allocations: 0.5368 MB / 0.7748 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001977/5.218, allocations: 1.041 MB / 0.7759 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/5.219, allocations: 152.5 kB / 0.776 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/5.219, allocations: 0 / 0.776 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/5.22, allocations: 52.02 kB / 0.776 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/5.22, allocations: 47.83 kB / 0.7761 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/5.22, allocations: 12 kB / 0.7761 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004123/5.22, allocations: 211.1 kB / 0.7763 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002654/5.223, allocations: 151.5 kB / 0.7764 GB, free: 1.324 MB / 0.6511 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.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,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) * 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.000319/5.223, allocations: 125.1 kB / 0.7766 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001679/5.225, allocations: 0.5452 MB / 0.7771 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/5.225, allocations: 4.312 kB / 0.7771 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/5.226, allocations: 147.9 kB / 0.7772 GB, free: 500 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/5.227, allocations: 71.62 kB / 0.7773 GB, free: 432 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3113/5.538, allocations: 0.5257 MB / 0.7778 GB, free: 224 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/5.539, allocations: 0.8764 MB / 0.7787 GB, free: 223.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/5.539, allocations: 0 / 0.7787 GB, free: 223.3 MB / 0.6511 GB