Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.52/4.52, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.572/5.092, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/5.341, allocations: 98.72 MB / 0.6283 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/5.571, allocations: 123.4 MB / 0.7489 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/5.572, allocations: 75.59 kB / 0.7489 GB, free: 14.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004778/5.577, allocations: 0.9062 MB / 0.7498 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/5.577, allocations: 8 kB / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/5.577, allocations: 7.906 kB / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/5.577, allocations: 167.1 kB / 0.75 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/5.577, allocations: 4 kB / 0.75 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/5.577, allocations: 0 / 0.75 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001222/5.577, allocations: 19.91 kB / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/5.577, allocations: 45.62 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/5.577, allocations: 0 / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/5.577, allocations: 0 / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/5.577, allocations: 0 / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007385/5.578, allocations: 293.3 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/5.578, allocations: 26.58 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/5.578, allocations: 12.86 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/5.578, allocations: 4 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/5.578, allocations: 42.58 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/5.578, allocations: 0 / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002171/5.578, allocations: 49.61 kB / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/5.579, allocations: 51.41 kB / 0.7505 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/5.579, allocations: 105 kB / 0.7506 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/5.579, allocations: 25.7 kB / 0.7506 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/5.579, allocations: 88.14 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/5.579, allocations: 3.906 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/5.579, allocations: 0 / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001249/5.579, allocations: 318.8 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/5.579, allocations: 12 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/5.579, allocations: 16.03 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/5.579, allocations: 15.84 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/5.579, allocations: 0 / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001379/5.579, allocations: 49.62 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/5.579, allocations: 8 kB / 0.7511 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/5.579, allocations: 0 / 0.7511 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/5.579, allocations: 0 / 0.7511 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/5.58, allocations: 23.98 kB / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/5.58, allocations: 0 / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/5.58, allocations: 19.89 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/5.58, allocations: 8 kB / 0.7512 GB, free: 11.55 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 8.308e-05/5.58, allocations: 109 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/5.58, allocations: 3.906 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/5.58, allocations: 61.69 kB / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/5.58, allocations: 0 / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/5.58, allocations: 0 / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/5.58, allocations: 3.938 kB / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/5.58, allocations: 146.2 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/5.58, allocations: 7.984 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/5.581, allocations: 19.98 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/5.581, allocations: 3.906 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/5.581, allocations: 0 / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/5.581, allocations: 4 kB / 0.7515 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/5.581, allocations: 0 / 0.7515 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001727/5.581, allocations: 147.5 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002844/5.581, allocations: 0.5193 MB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/5.581, allocations: 81.11 kB / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/5.581, allocations: 0 / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/5.581, allocations: 23.97 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/5.582, allocations: 4 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/5.582, allocations: 3.906 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.837e-05/5.582, allocations: 83.28 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001096/5.583, allocations: 11.98 kB / 0.7524 GB, free: 10.22 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0001646/5.583, allocations: 103.2 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001398/5.583, allocations: 20 kB / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/5.583, allocations: 0 / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/5.583, allocations: 12 kB / 0.7525 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/5.583, allocations: 15.81 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/5.584, allocations: 79.7 kB / 0.7526 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/5.584, allocations: 0.6954 MB / 0.7533 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/5.584, allocations: 0 / 0.7533 GB, free: 9.246 MB / 0.6355 GB