Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyFan.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyFan,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyFan",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 4.526/4.526, allocations: 433 MB / 440.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6332/5.159, allocations: 104.4 MB / 0.532 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/5.43, allocations: 98.72 MB / 0.6284 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2744/5.704, allocations: 132.6 MB / 0.7579 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/5.705, allocations: 87.58 kB / 0.7579 GB, free: 4.793 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.06739/5.772, allocations: 15.02 MB / 0.7726 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/5.772, allocations: 15.94 kB / 0.7726 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/5.773, allocations: 98.78 kB / 0.7727 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/5.774, allocations: 0.522 MB / 0.7732 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/5.774, allocations: 39.98 kB / 0.7733 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/5.774, allocations: 47.94 kB / 0.7733 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001892/5.776, allocations: 0.5078 MB / 0.7738 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/5.778, allocations: 0.6628 MB / 0.7744 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/5.779, allocations: 0 / 0.7744 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/5.779, allocations: 0 / 0.7744 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/5.779, allocations: 20 kB / 0.7745 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007366/5.786, allocations: 2.067 MB / 0.7765 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/5.789, allocations: 0.6147 MB / 0.7771 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/5.79, allocations: 247.2 kB / 0.7773 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/5.79, allocations: 20.36 kB / 0.7773 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/5.791, allocations: 378.5 kB / 0.7777 GB, free: 324 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 4.598e-06/5.791, allocations: 4 kB / 0.7777 GB, free: 320 kB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.3285/6.12, allocations: 0.5661 MB / 0.7783 GB, free: 220.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/6.12, allocations: 139.8 kB / 0.7784 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/6.122, allocations: 426.4 kB / 0.7788 GB, free: 219.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003228/6.122, allocations: 33.02 kB / 0.7788 GB, free: 219.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/6.122, allocations: 272.5 kB / 0.7791 GB, free: 219.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005205/6.123, allocations: 188.4 kB / 0.7793 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/6.123, allocations: 3.969 kB / 0.7793 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002691/6.123, allocations: 384.5 kB / 0.7796 GB, free: 219.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/6.125, allocations: 189.1 kB / 0.7798 GB, free: 219.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/6.126, allocations: 327.8 kB / 0.7801 GB, free: 219.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/6.127, allocations: 214.2 kB / 0.7803 GB, free: 219.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/6.127, allocations: 3.938 kB / 0.7803 GB, free: 219.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002812/6.13, allocations: 0.5854 MB / 0.7809 GB, free: 219.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003899/6.13, allocations: 1.222 MB / 0.7821 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/6.13, allocations: 7.109 kB / 0.7821 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/6.13, allocations: 7.438 kB / 0.7821 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/6.133, allocations: 165.9 kB / 0.7823 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/6.133, allocations: 14.38 kB / 0.7823 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/6.135, allocations: 101.1 kB / 0.7824 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/6.135, allocations: 23.56 kB / 0.7824 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/6.135, allocations: 3.719 kB / 0.7824 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002319/6.137, allocations: 0.4907 MB / 0.7829 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/6.137, allocations: 2.969 kB / 0.7829 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/6.137, allocations: 6.406 kB / 0.7829 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/6.139, allocations: 162.5 kB / 0.7831 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/6.14, allocations: 8.875 kB / 0.7831 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/6.141, allocations: 89.95 kB / 0.7832 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/6.142, allocations: 24.91 kB / 0.7832 GB, free: 217.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.conSupFan.staPreSetRes.tim.u,$PRE.conSupFan.firOrdHol.firstTrigger,conSupFan.firOrdHol.firstTrigger,$PRE.conSupFan.staPreSetRes.sampler.firstTrigger,conSupFan.staPreSetRes.sampler.firstTrigger,$PRE.conSupFan.staPreSetRes.uniDel.firstTrigger,conSupFan.staPreSetRes.uniDel.firstTrigger,$whenCondition1,$PRE.conSupFan.staPreSetRes.tim.t_next,$whenCondition4,conSupFan.staPreSetRes.uniDel.sampleTrigger,$whenCondition5,conSupFan.staPreSetRes.sampler.sampleTrigger,$whenCondition6,conSupFan.firOrdHol.sampleTrigger,$whenCondition2,$whenCondition3,conSupFan.uOpeMod,conSupFan.uZonPreResReq,conSupFan.staPreSetRes.tim.u,conSupFan.staPreSetRes.tim.y,conSupFan.staPreSetRes.greThr.y,conSupFan.staPreSetRes.netRes.u2,$PRE.conSupFan.staPreSetRes.uniDel.y,conSupFan.staPreSetRes.uniDel.y,conSupFan.staPreSetRes.sampler.y,conSupFan.or1.u1,conSupFan.intEqu.y,conSupFan.intEqu1.y,conSupFan.intEqu2.y,conSupFan.intEqu3.y,conSupFan.intEqu4.y,$PRE.conSupFan.firOrdHol.tSample,conSupFan.firOrdHol.tSample,$PRE.conSupFan.firOrdHol.uSample,conSupFan.firOrdHol.uSample,$PRE.conSupFan.firOrdHol.pre_uSample,conSupFan.firOrdHol.pre_uSample,$PRE.conSupFan.firOrdHol.c,conSupFan.firOrdHol.c,conSupFan.staPreSetRes.tim.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * 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.0004683/6.142, allocations: 141.2 kB / 0.7833 GB, free: 217.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/6.142, allocations: 68.66 kB / 0.7834 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/6.145, allocations: 0.5386 MB / 0.7839 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/6.145, allocations: 8.844 kB / 0.7839 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/6.145, allocations: 2.734 kB / 0.7839 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/6.145, allocations: 4.938 kB / 0.7839 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005741/6.151, allocations: 1.421 MB / 0.7853 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/6.151, allocations: 3.328 kB / 0.7853 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/6.153, allocations: 141.1 kB / 0.7854 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.392e-05/6.153, allocations: 2.969 kB / 0.7854 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/6.153, allocations: 16.62 kB / 0.7855 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/6.153, allocations: 5.656 kB / 0.7855 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/6.153, allocations: 3.906 kB / 0.7855 GB, free: 217.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004194/6.158, allocations: 1.031 MB / 0.7865 GB, free: 217.1 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006114/6.164, allocations: 1.763 MB / 0.7882 GB, free: 216.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007887/6.165, allocations: 212.5 kB / 0.7884 GB, free: 216.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/6.165, allocations: 7.234 kB / 0.7884 GB, free: 216.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/6.167, allocations: 89.47 kB / 0.7885 GB, free: 216.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005214/6.168, allocations: 65.89 kB / 0.7886 GB, free: 216.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/6.168, allocations: 25.22 kB / 0.7886 GB, free: 216.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008505/6.169, allocations: 310.6 kB / 0.7889 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005187/6.174, allocations: 279.2 kB / 0.7891 GB, free: 216.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conSupFan.conSpe.I.y) * Number of discrete variables: 31 (conSupFan.staPreSetRes.tim.u,conSupFan.firOrdHol.sampleTrigger,conSupFan.staPreSetRes.sampler.sampleTrigger,conSupFan.staPreSetRes.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conSupFan.uOpeMod,conSupFan.uZonPreResReq,conSupFan.staPreSetRes.tim.y,conSupFan.staPreSetRes.tim.t_next,conSupFan.staPreSetRes.greThr.y,conSupFan.staPreSetRes.netRes.u2,conSupFan.staPreSetRes.uniDel.y,conSupFan.staPreSetRes.uniDel.firstTrigger,conSupFan.staPreSetRes.sampler.y,conSupFan.staPreSetRes.sampler.firstTrigger,conSupFan.or1.u1,conSupFan.intEqu.y,conSupFan.intEqu1.y,conSupFan.intEqu2.y,conSupFan.intEqu3.y,conSupFan.intEqu4.y,conSupFan.firOrdHol.firstTrigger,conSupFan.firOrdHol.tSample,conSupFan.firOrdHol.uSample,conSupFan.firOrdHol.pre_uSample,conSupFan.firOrdHol.c) * Number of discrete states: 4 (conSupFan.staPreSetRes.tim.t_next,conSupFan.firOrdHol.uSample,conSupFan.firOrdHol.c,conSupFan.staPreSetRes.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0006658/6.175, allocations: 145.3 kB / 0.7893 GB, free: 216.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003883/6.178, allocations: 0.8477 MB / 0.7901 GB, free: 216.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/6.179, allocations: 0 / 0.7901 GB, free: 216.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/6.18, allocations: 326.1 kB / 0.7904 GB, free: 216.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/6.182, allocations: 115.4 kB / 0.7905 GB, free: 216.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/6.188, allocations: 0.9691 MB / 0.7915 GB, free: 215.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/6.189, allocations: 1.036 MB / 0.7925 GB, free: 215.1 MB / 0.6511 GB Notification: Performance of SimCode: time 3.165e-06/6.189, allocations: 0 / 0.7925 GB, free: 215.1 MB / 0.6511 GB