Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.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.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad",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.777/3.777, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5598/4.337, allocations: 104.3 MB / 0.5319 GB, free: 13.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/4.581, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/4.819, allocations: 125.7 MB / 0.7511 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/4.82, allocations: 99.56 kB / 0.7512 GB, free: 11.78 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.03515/4.855, allocations: 7.998 MB / 0.759 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/4.855, allocations: 16 kB / 0.759 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/4.855, allocations: 75.28 kB / 0.7591 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/4.855, allocations: 238.5 kB / 0.7593 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/4.856, allocations: 154.6 kB / 0.7595 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/4.856, allocations: 162.5 kB / 0.7596 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.784e-05/4.856, allocations: 150.6 kB / 0.7598 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.994e-05/4.856, allocations: 109 kB / 0.7599 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/4.856, allocations: 75.28 kB / 0.76 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/4.856, allocations: 154.6 kB / 0.7601 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/4.856, allocations: 150.6 kB / 0.7602 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/4.856, allocations: 426.5 kB / 0.7606 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/4.856, allocations: 177.1 kB / 0.7608 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/4.857, allocations: 80.14 kB / 0.7609 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/4.857, allocations: 75.28 kB / 0.761 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/4.857, allocations: 109.8 kB / 0.7611 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.844e-06/4.857, allocations: 0 / 0.7611 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.644e-05/4.857, allocations: 29.61 kB / 0.7611 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/4.857, allocations: 136.5 kB / 0.7612 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/4.857, allocations: 96.98 kB / 0.7613 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/4.857, allocations: 25.7 kB / 0.7613 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/4.857, allocations: 92.06 kB / 0.7614 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/4.857, allocations: 0 / 0.7614 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-07/4.857, allocations: 0 / 0.7614 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001407/4.857, allocations: 310.8 kB / 0.7617 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/4.857, allocations: 0 / 0.7617 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/4.857, allocations: 22.58 kB / 0.7618 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/4.857, allocations: 75.28 kB / 0.7618 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.908e-05/4.857, allocations: 75.28 kB / 0.7619 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.769e-05/4.857, allocations: 29.7 kB / 0.7619 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/4.857, allocations: 4 kB / 0.7619 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/4.858, allocations: 87.14 kB / 0.762 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.267e-05/4.858, allocations: 162.5 kB / 0.7622 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.908e-05/4.858, allocations: 79.28 kB / 0.7622 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.578e-05/4.858, allocations: 154.5 kB / 0.7624 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/4.858, allocations: 79.28 kB / 0.7625 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/4.858, allocations: 75.28 kB / 0.7625 GB, free: 15.93 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 (0): * Single equations (assignments): 0 * 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.0001431/4.858, allocations: 259.5 kB / 0.7628 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/4.858, allocations: 109 kB / 0.7629 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/4.858, allocations: 107.9 kB / 0.763 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001076/4.858, allocations: 180.2 kB / 0.7632 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-05/4.859, allocations: 184.2 kB / 0.7633 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.98e-05/4.859, allocations: 188.5 kB / 0.7635 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/4.859, allocations: 381.8 kB / 0.7639 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.445e-05/4.859, allocations: 109 kB / 0.764 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/4.859, allocations: 109 kB / 0.7641 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.428e-05/4.859, allocations: 176.3 kB / 0.7643 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/4.859, allocations: 180.2 kB / 0.7644 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-05/4.859, allocations: 180.3 kB / 0.7646 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-05/4.859, allocations: 188.2 kB / 0.7648 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001483/4.859, allocations: 303.7 kB / 0.7651 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000311/4.86, allocations: 0.6798 MB / 0.7657 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/4.86, allocations: 182.1 kB / 0.7659 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/4.86, allocations: 184.2 kB / 0.7661 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/4.86, allocations: 105 kB / 0.7662 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/4.86, allocations: 184.3 kB / 0.7664 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/4.86, allocations: 101 kB / 0.7665 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.547e-05/4.86, allocations: 91.16 kB / 0.7665 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00149/4.862, allocations: 107.9 kB / 0.7666 GB, free: 11.48 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 (0): * Single equations (assignments): 0 * 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.001044/4.863, allocations: 409.5 kB / 0.767 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.857e-05/4.863, allocations: 4 kB / 0.767 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/4.863, allocations: 4 kB / 0.767 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/4.863, allocations: 0 / 0.767 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/4.864, allocations: 0.5301 MB / 0.7676 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/4.867, allocations: 0.8109 MB / 0.7684 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/4.868, allocations: 0.688 MB / 0.769 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/4.868, allocations: 0 / 0.769 GB, free: 8.988 MB / 0.6511 GB