Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_6_0_0_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.96/3.96, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5317/4.491, allocations: 104.4 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/4.761, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2593/5.021, allocations: 129 MB / 0.7543 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000394/5.021, allocations: 103.5 kB / 0.7544 GB, free: 8.492 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0362/5.057, allocations: 6.462 MB / 0.7607 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/5.057, allocations: 8 kB / 0.7607 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/5.058, allocations: 43.44 kB / 0.7608 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/5.059, allocations: 359.6 kB / 0.7611 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/5.059, allocations: 7.906 kB / 0.7611 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/5.059, allocations: 12 kB / 0.7611 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008099/5.06, allocations: 148.9 kB / 0.7613 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/5.061, allocations: 245.1 kB / 0.7615 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/5.061, allocations: 0 / 0.7615 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/5.061, allocations: 0 / 0.7615 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/5.061, allocations: 8 kB / 0.7615 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/5.064, allocations: 0.9351 MB / 0.7624 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/5.066, allocations: 186.8 kB / 0.7626 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/5.066, allocations: 72.86 kB / 0.7627 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/5.066, allocations: 11.84 kB / 0.7627 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/5.066, allocations: 38.55 kB / 0.7627 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 4.048e-06/5.066, allocations: 0 / 0.7627 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0008641/5.067, allocations: 173.2 kB / 0.7629 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/5.067, allocations: 158.2 kB / 0.763 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/5.068, allocations: 270.1 kB / 0.7633 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.433e-05/5.068, allocations: 25.7 kB / 0.7633 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/5.068, allocations: 156.5 kB / 0.7635 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/5.068, allocations: 43.27 kB / 0.7635 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/5.068, allocations: 0 / 0.7635 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002052/5.069, allocations: 342.8 kB / 0.7638 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/5.069, allocations: 51.98 kB / 0.7639 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/5.069, allocations: 100.3 kB / 0.764 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/5.07, allocations: 60.28 kB / 0.764 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/5.07, allocations: 0 / 0.764 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001846/5.072, allocations: 173.2 kB / 0.7642 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/5.072, allocations: 93 kB / 0.7643 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/5.072, allocations: 0 / 0.7643 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.519e-05/5.072, allocations: 0 / 0.7643 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/5.073, allocations: 55.95 kB / 0.7644 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/5.073, allocations: 3.906 kB / 0.7644 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/5.073, allocations: 39.91 kB / 0.7644 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/5.073, allocations: 4 kB / 0.7644 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/5.073, allocations: 0 / 0.7644 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003664/5.074, allocations: 107.9 kB / 0.7645 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/5.074, allocations: 4 kB / 0.7645 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/5.074, allocations: 0 / 0.7645 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/5.074, allocations: 31.98 kB / 0.7645 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/5.074, allocations: 3.906 kB / 0.7645 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/5.074, allocations: 23.92 kB / 0.7646 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/5.074, allocations: 4 kB / 0.7646 GB, free: 13.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000138/5.075, allocations: 114.2 kB / 0.7647 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/5.075, allocations: 35.61 kB / 0.7647 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/5.075, allocations: 30.92 kB / 0.7647 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/5.075, allocations: 0 / 0.7647 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/5.075, allocations: 0 / 0.7647 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/5.075, allocations: 11.94 kB / 0.7648 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/5.076, allocations: 333.8 kB / 0.7651 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/5.076, allocations: 0 / 0.7651 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/5.076, allocations: 47.95 kB / 0.7651 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/5.076, allocations: 8 kB / 0.7651 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/5.076, allocations: 0 / 0.7651 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/5.076, allocations: 0 / 0.7651 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/5.076, allocations: 3.906 kB / 0.7651 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005342/5.077, allocations: 275 kB / 0.7654 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006487/5.077, allocations: 0.6564 MB / 0.766 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/5.077, allocations: 128.7 kB / 0.7662 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/5.078, allocations: 4 kB / 0.7662 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/5.078, allocations: 35.97 kB / 0.7662 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/5.078, allocations: 7.984 kB / 0.7662 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/5.078, allocations: 4 kB / 0.7662 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003511/5.079, allocations: 208.6 kB / 0.7664 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002344/5.081, allocations: 99.47 kB / 0.7665 GB, free: 11.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001947/5.081, allocations: 107.2 kB / 0.7666 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006949/5.082, allocations: 205.9 kB / 0.7668 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/5.082, allocations: 0 / 0.7668 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/5.082, allocations: 71.92 kB / 0.7669 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/5.083, allocations: 72.31 kB / 0.7669 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/5.084, allocations: 354.2 kB / 0.7673 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/5.085, allocations: 0.8093 MB / 0.7681 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/5.085, allocations: 0 / 0.7681 GB, free: 10.07 MB / 0.6511 GB