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.ReturnFanDirectPressure.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.ReturnFanDirectPressure,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",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.668/4.668, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3187/4.987, allocations: 104.4 MB / 0.532 GB, free: 2.27 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/5.535, allocations: 98.69 MB / 0.6284 GB, free: 124 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2982/5.833, allocations: 128.8 MB / 0.7542 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004447/5.834, allocations: 79.94 kB / 0.7543 GB, free: 15.01 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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.08038/5.914, allocations: 17.16 MB / 0.771 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/5.914, allocations: 12 kB / 0.771 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/5.915, allocations: 114.6 kB / 0.7711 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/5.917, allocations: 0.6278 MB / 0.7717 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/5.917, allocations: 119.1 kB / 0.7719 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/5.917, allocations: 59.89 kB / 0.7719 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002141/5.919, allocations: 0.5625 MB / 0.7725 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/5.922, allocations: 0.739 MB / 0.7732 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/5.922, allocations: 4 kB / 0.7732 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/5.922, allocations: 3.984 kB / 0.7732 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/5.922, allocations: 20 kB / 0.7732 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00908/5.931, allocations: 2.438 MB / 0.7756 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/5.933, allocations: 0.5361 MB / 0.7761 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/5.934, allocations: 226.8 kB / 0.7763 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.516e-05/5.934, allocations: 12.64 kB / 0.7763 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009803/5.935, allocations: 366.4 kB / 0.7767 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 4.048e-06/5.935, allocations: 4 kB / 0.7767 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.001771/5.937, allocations: 0.503 MB / 0.7772 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/5.937, allocations: 376.5 kB / 0.7776 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/5.939, allocations: 483.5 kB / 0.778 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/5.939, allocations: 25.7 kB / 0.778 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/5.939, allocations: 324.5 kB / 0.7783 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/5.94, allocations: 208.9 kB / 0.7785 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/5.94, allocations: 0 / 0.7785 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002618/5.94, allocations: 386.8 kB / 0.7789 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/5.941, allocations: 193.6 kB / 0.7791 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008838/5.942, allocations: 343.7 kB / 0.7794 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007343/5.942, allocations: 229.8 kB / 0.7796 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/5.943, allocations: 0 / 0.7796 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001904/5.944, allocations: 0.5811 MB / 0.7802 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/5.945, allocations: 281.5 kB / 0.7805 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/5.945, allocations: 4 kB / 0.7805 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/5.945, allocations: 4 kB / 0.7805 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/5.946, allocations: 147.8 kB / 0.7806 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/5.946, allocations: 4 kB / 0.7806 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/5.948, allocations: 111.5 kB / 0.7807 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/5.948, allocations: 20 kB / 0.7808 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/5.948, allocations: 11.91 kB / 0.7808 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/5.949, allocations: 470.3 kB / 0.7812 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/5.949, allocations: 0 / 0.7812 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/5.949, allocations: 4 kB / 0.7812 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/5.951, allocations: 127.8 kB / 0.7813 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/5.951, allocations: 4 kB / 0.7813 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/5.952, allocations: 87.58 kB / 0.7814 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/5.952, allocations: 20 kB / 0.7815 GB, free: 2.684 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003071/5.952, allocations: 120.8 kB / 0.7816 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/5.952, allocations: 82.98 kB / 0.7816 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/5.955, allocations: 0.5815 MB / 0.7822 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/5.955, allocations: 7.906 kB / 0.7822 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/5.955, allocations: 4 kB / 0.7822 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/5.955, allocations: 12 kB / 0.7822 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/5.959, allocations: 1.416 MB / 0.7836 GB, free: 388 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/5.959, allocations: 4 kB / 0.7836 GB, free: 384 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/5.96, allocations: 144 kB / 0.7838 GB, free: 240 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.333e-05/5.96, allocations: 4 kB / 0.7838 GB, free: 236 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/5.96, allocations: 11.98 kB / 0.7838 GB, free: 224 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/5.96, allocations: 4 kB / 0.7838 GB, free: 220 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/5.961, allocations: 7.938 kB / 0.7838 GB, free: 212 kB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003091/5.964, allocations: 1.059 MB / 0.7848 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004788/5.968, allocations: 1.739 MB / 0.7865 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006804/5.969, allocations: 232 kB / 0.7867 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/5.969, allocations: 11.98 kB / 0.7868 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/5.971, allocations: 83.94 kB / 0.7868 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/5.971, allocations: 52.48 kB / 0.7869 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/5.971, allocations: 20 kB / 0.7869 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0007912/5.972, allocations: 367.2 kB / 0.7873 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003513/5.975, allocations: 306.5 kB / 0.7875 GB, free: 12.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003852/5.976, allocations: 123.8 kB / 0.7877 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002847/5.978, allocations: 0.8137 MB / 0.7885 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.889e-05/5.979, allocations: 4 kB / 0.7885 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/5.98, allocations: 282.4 kB / 0.7887 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/5.982, allocations: 184.4 kB / 0.7889 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/5.986, allocations: 1.098 MB / 0.79 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/5.988, allocations: 1.084 MB / 0.791 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of SimCode: time 1.433e-06/5.988, allocations: 0 / 0.791 GB, free: 8.539 MB / 0.6667 GB