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.ExhaustDamper.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.ExhaustDamper,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",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.236/4.236, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5585/4.794, allocations: 104.4 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/5.046, allocations: 98.74 MB / 0.6284 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3133/5.36, allocations: 128.2 MB / 0.7535 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/5.36, allocations: 87.58 kB / 0.7536 GB, free: 9.293 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.05762/5.418, allocations: 13.37 MB / 0.7667 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/5.418, allocations: 12 kB / 0.7667 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/5.418, allocations: 75.06 kB / 0.7667 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/5.419, allocations: 0.4909 MB / 0.7672 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/5.42, allocations: 110 kB / 0.7673 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/5.42, allocations: 35.91 kB / 0.7674 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/5.421, allocations: 326 kB / 0.7677 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/5.422, allocations: 491 kB / 0.7681 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/5.422, allocations: 7.938 kB / 0.7681 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/5.423, allocations: 0 / 0.7681 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/5.423, allocations: 12 kB / 0.7682 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/5.428, allocations: 1.655 MB / 0.7698 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/5.43, allocations: 391.7 kB / 0.7701 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/5.43, allocations: 154.1 kB / 0.7703 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.896e-05/5.43, allocations: 16.31 kB / 0.7703 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/5.431, allocations: 205.7 kB / 0.7705 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 4.228e-06/5.431, allocations: 0 / 0.7705 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.001285/5.432, allocations: 356.8 kB / 0.7708 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002234/5.432, allocations: 209.6 kB / 0.771 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008659/5.433, allocations: 369.4 kB / 0.7714 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/5.433, allocations: 25.7 kB / 0.7714 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/5.434, allocations: 232.7 kB / 0.7716 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/5.434, allocations: 137.9 kB / 0.7718 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/5.434, allocations: 4 kB / 0.7718 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002035/5.434, allocations: 362.7 kB / 0.7721 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/5.435, allocations: 124.9 kB / 0.7722 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/5.435, allocations: 220 kB / 0.7725 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/5.436, allocations: 135.9 kB / 0.7726 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/5.436, allocations: 0 / 0.7726 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001245/5.437, allocations: 396.7 kB / 0.773 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002054/5.437, allocations: 360.3 kB / 0.7733 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/5.437, allocations: 4 kB / 0.7733 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/5.437, allocations: 0 / 0.7733 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/5.438, allocations: 107.9 kB / 0.7734 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/5.438, allocations: 3.984 kB / 0.7734 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007687/5.439, allocations: 67.66 kB / 0.7735 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/5.439, allocations: 23.98 kB / 0.7735 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/5.439, allocations: 4 kB / 0.7735 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008925/5.44, allocations: 279.8 kB / 0.7738 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/5.44, allocations: 0 / 0.7738 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/5.44, allocations: 4 kB / 0.7738 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/5.441, allocations: 79.84 kB / 0.7739 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/5.441, allocations: 7.906 kB / 0.7739 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/5.441, allocations: 43.81 kB / 0.7739 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/5.441, allocations: 15.98 kB / 0.7739 GB, free: 4.098 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000233/5.442, allocations: 120.8 kB / 0.774 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/5.442, allocations: 51.44 kB / 0.7741 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/5.442, allocations: 65.16 kB / 0.7741 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/5.442, allocations: 4 kB / 0.7741 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/5.442, allocations: 0 / 0.7741 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/5.442, allocations: 3.984 kB / 0.7741 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/5.443, allocations: 0.5521 MB / 0.7747 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/5.443, allocations: 0 / 0.7747 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009372/5.444, allocations: 91.89 kB / 0.7748 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/5.444, allocations: 0 / 0.7748 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/5.444, allocations: 11.98 kB / 0.7748 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/5.444, allocations: 0 / 0.7748 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/5.444, allocations: 4.062 kB / 0.7748 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001744/5.446, allocations: 0.5673 MB / 0.7753 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00231/5.448, allocations: 1.155 MB / 0.7765 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/5.449, allocations: 180.3 kB / 0.7766 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/5.449, allocations: 8 kB / 0.7767 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/5.45, allocations: 55.89 kB / 0.7767 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/5.45, allocations: 27.86 kB / 0.7767 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/5.45, allocations: 12 kB / 0.7767 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008583/5.451, allocations: 287 kB / 0.777 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004663/5.456, allocations: 191.1 kB / 0.7772 GB, free: 0.6289 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004056/5.457, allocations: 123.1 kB / 0.7773 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002133/5.459, allocations: 0.501 MB / 0.7778 GB, free: 0 / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/5.459, allocations: 0 / 0.7778 GB, free: 0 / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.29/5.749, allocations: 163.9 kB / 0.778 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/5.75, allocations: 128.3 kB / 0.7781 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/5.752, allocations: 0.7225 MB / 0.7788 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/5.753, allocations: 0.9456 MB / 0.7797 GB, free: 222.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.402e-06/5.753, allocations: 3.438 kB / 0.7797 GB, free: 222.5 MB / 0.6511 GB