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.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",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.469/4.469, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6082/5.078, allocations: 104.4 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/5.325, allocations: 98.73 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2484/5.573, allocations: 127.8 MB / 0.7532 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/5.573, allocations: 75.59 kB / 0.7533 GB, free: 9.66 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.07575/5.649, allocations: 16.09 MB / 0.769 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/5.649, allocations: 8 kB / 0.769 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/5.65, allocations: 146.2 kB / 0.7691 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/5.652, allocations: 0.5956 MB / 0.7697 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/5.652, allocations: 52 kB / 0.7697 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/5.652, allocations: 76 kB / 0.7698 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003712/5.656, allocations: 0.8879 MB / 0.7707 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/5.659, allocations: 0.8736 MB / 0.7715 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/5.659, allocations: 7.984 kB / 0.7715 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/5.659, allocations: 0 / 0.7715 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/5.659, allocations: 32 kB / 0.7716 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009467/5.669, allocations: 2.997 MB / 0.7745 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/5.671, allocations: 0.4973 MB / 0.775 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007446/5.671, allocations: 270.8 kB / 0.7753 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.775e-05/5.671, allocations: 13.05 kB / 0.7753 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/5.672, allocations: 418.2 kB / 0.7757 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 5.16e-06/5.672, allocations: 4 kB / 0.7757 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.001846/5.674, allocations: 0.6011 MB / 0.7763 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/5.675, allocations: 218.1 kB / 0.7765 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/5.676, allocations: 489.8 kB / 0.7769 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/5.676, allocations: 25.7 kB / 0.777 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/5.676, allocations: 462.8 kB / 0.7774 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/5.677, allocations: 212.8 kB / 0.7776 GB, free: 428 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/5.677, allocations: 0 / 0.7776 GB, free: 428 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003124/5.677, allocations: 378.8 kB / 0.778 GB, free: 40 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.364/6.041, allocations: 260.8 kB / 0.7782 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/6.042, allocations: 343.6 kB / 0.7785 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/6.043, allocations: 277.5 kB / 0.7788 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/6.043, allocations: 0 / 0.7788 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001896/6.045, allocations: 0.6841 MB / 0.7795 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/6.045, allocations: 9.969 kB / 0.7795 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/6.045, allocations: 0 / 0.7795 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/6.045, allocations: 3.25 kB / 0.7795 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/6.046, allocations: 130.4 kB / 0.7796 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/6.046, allocations: 2.938 kB / 0.7796 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/6.047, allocations: 117.2 kB / 0.7797 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/6.047, allocations: 19.5 kB / 0.7797 GB, free: 168.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,actAirSet_RehBox.greThr.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox1.greThr.y,$PRE.winSta.pulseStart,winSta.pulseStart,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0002185/6.047, allocations: 132.7 kB / 0.7799 GB, free: 168 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/6.048, allocations: 68.31 kB / 0.7799 GB, free: 168 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/6.049, allocations: 0.5957 MB / 0.7805 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/6.049, allocations: 6.531 kB / 0.7805 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/6.049, allocations: 3.688 kB / 0.7805 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/6.049, allocations: 3.656 kB / 0.7805 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/6.054, allocations: 2.307 MB / 0.7828 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/6.054, allocations: 8.312 kB / 0.7828 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/6.055, allocations: 133.5 kB / 0.7829 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/6.055, allocations: 9.688 kB / 0.7829 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/6.055, allocations: 7.281 kB / 0.7829 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/6.055, allocations: 13.53 kB / 0.7829 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/6.055, allocations: 9.219 kB / 0.783 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002/6.057, allocations: 1.185 MB / 0.7841 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002045/6.06, allocations: 1.561 MB / 0.7856 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/6.06, allocations: 165.3 kB / 0.7858 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/6.06, allocations: 9.344 kB / 0.7858 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009062/6.061, allocations: 65.89 kB / 0.7859 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/6.061, allocations: 63.64 kB / 0.7859 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/6.061, allocations: 27.41 kB / 0.7859 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005731/6.062, allocations: 339.5 kB / 0.7863 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001786/6.064, allocations: 215.4 kB / 0.7865 GB, free: 165.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,actAirSet_RehBox.uWin,actAirSet_RehBox.greThr.y,actAirSet_RehBox1.greThr.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002834/6.064, allocations: 131 kB / 0.7866 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001762/6.066, allocations: 0.6352 MB / 0.7872 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/6.066, allocations: 0 / 0.7872 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/6.067, allocations: 379.1 kB / 0.7876 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/6.068, allocations: 86.3 kB / 0.7877 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/6.073, allocations: 1.364 MB / 0.789 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/6.074, allocations: 1.164 MB / 0.7901 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of SimCode: time 2.064e-06/6.074, allocations: 0 / 0.7901 GB, free: 163.8 MB / 0.6511 GB