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.Line.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.Line,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.644/4.644, allocations: 433 MB / 440.3 MB, free: 24.77 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2723/4.916, allocations: 104.4 MB / 0.5319 GB, free: 4.477 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/5.531, allocations: 98.7 MB / 0.6283 GB, free: 0.6836 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2498/5.781, allocations: 123.8 MB / 0.7492 GB, free: 5.375 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/5.781, allocations: 75.84 kB / 0.7493 GB, free: 5.305 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.01052/5.792, allocations: 1.75 MB / 0.751 GB, free: 3.512 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/5.792, allocations: 16 kB / 0.751 GB, free: 3.496 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/5.792, allocations: 11.81 kB / 0.751 GB, free: 3.484 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/5.792, allocations: 206.8 kB / 0.7512 GB, free: 3.242 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/5.792, allocations: 4 kB / 0.7512 GB, free: 3.238 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/5.792, allocations: 11.91 kB / 0.7512 GB, free: 3.227 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005189/5.793, allocations: 91.98 kB / 0.7513 GB, free: 3.137 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/5.794, allocations: 117.6 kB / 0.7514 GB, free: 3.016 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/5.794, allocations: 0 / 0.7514 GB, free: 3.016 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/5.794, allocations: 0 / 0.7514 GB, free: 3.016 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/5.794, allocations: 4 kB / 0.7514 GB, free: 3.012 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/5.796, allocations: 496.6 kB / 0.7519 GB, free: 2.488 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/5.796, allocations: 66.56 kB / 0.752 GB, free: 2.414 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/5.796, allocations: 24.86 kB / 0.752 GB, free: 2.387 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/5.796, allocations: 4.188 kB / 0.752 GB, free: 2.383 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/5.796, allocations: 42.41 kB / 0.752 GB, free: 2.332 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=10): time 4.489e-06/5.796, allocations: 4 kB / 0.752 GB, free: 2.328 MB / 0.6121 GB Notification: Performance of matching and sorting (n=10): time 0.0005061/5.797, allocations: 81.59 kB / 0.7521 GB, free: 2.242 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/5.797, allocations: 51.41 kB / 0.7522 GB, free: 2.18 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/5.797, allocations: 129.3 kB / 0.7523 GB, free: 2.043 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/5.797, allocations: 29.64 kB / 0.7523 GB, free: 2.008 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/5.798, allocations: 127.4 kB / 0.7524 GB, free: 1.879 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/5.798, allocations: 27.56 kB / 0.7525 GB, free: 1.852 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/5.798, allocations: 0 / 0.7525 GB, free: 1.852 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001853/5.798, allocations: 322.8 kB / 0.7528 GB, free: 1.527 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/5.798, allocations: 28 kB / 0.7528 GB, free: 1.5 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/5.798, allocations: 28 kB / 0.7528 GB, free: 1.473 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/5.798, allocations: 28.64 kB / 0.7528 GB, free: 1.445 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/5.798, allocations: 0 / 0.7528 GB, free: 1.445 MB / 0.6121 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004774/5.799, allocations: 105.5 kB / 0.7529 GB, free: 1.336 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/5.799, allocations: 11.98 kB / 0.753 GB, free: 1.324 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/5.799, allocations: 0 / 0.753 GB, free: 1.324 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/5.799, allocations: 0 / 0.753 GB, free: 1.324 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/5.799, allocations: 39.86 kB / 0.753 GB, free: 1.285 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/5.799, allocations: 0 / 0.753 GB, free: 1.285 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/5.8, allocations: 19.83 kB / 0.753 GB, free: 1.266 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/5.8, allocations: 4 kB / 0.753 GB, free: 1.262 MB / 0.6121 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 (13): * Single equations (assignments): 13 * 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.0001214/5.8, allocations: 104.3 kB / 0.7531 GB, free: 1.156 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/5.8, allocations: 11.91 kB / 0.7531 GB, free: 1.145 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/5.801, allocations: 110.1 kB / 0.7532 GB, free: 1.027 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/5.801, allocations: 3.906 kB / 0.7532 GB, free: 1.023 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/5.801, allocations: 0 / 0.7532 GB, free: 1.023 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/5.801, allocations: 4 kB / 0.7532 GB, free: 1.02 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/5.801, allocations: 389.5 kB / 0.7536 GB, free: 0.5859 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/5.802, allocations: 4.094 kB / 0.7536 GB, free: 0.582 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/5.802, allocations: 27.92 kB / 0.7536 GB, free: 0.5547 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/5.802, allocations: 0 / 0.7536 GB, free: 0.5547 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/5.802, allocations: 4 kB / 0.7536 GB, free: 0.5508 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/5.802, allocations: 0 / 0.7536 GB, free: 0.5508 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/5.802, allocations: 0 / 0.7536 GB, free: 0.5508 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004576/5.802, allocations: 243.1 kB / 0.7539 GB, free: 276 kB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006062/5.803, allocations: 0.6205 MB / 0.7545 GB, free: 15.6 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/5.803, allocations: 88.95 kB / 0.7546 GB, free: 15.5 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/5.803, allocations: 0 / 0.7546 GB, free: 15.5 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/5.804, allocations: 23.98 kB / 0.7546 GB, free: 15.47 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/5.804, allocations: 11.98 kB / 0.7546 GB, free: 15.46 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/5.804, allocations: 4 kB / 0.7546 GB, free: 15.46 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0001379/5.804, allocations: 110.2 kB / 0.7547 GB, free: 15.35 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.002196/5.806, allocations: 23.91 kB / 0.7547 GB, free: 15.33 MB / 0.6277 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000317/5.806, allocations: 103.2 kB / 0.7548 GB, free: 15.22 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0003877/5.807, allocations: 76.3 kB / 0.7549 GB, free: 15.14 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/5.807, allocations: 0 / 0.7549 GB, free: 15.14 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/5.807, allocations: 31.94 kB / 0.7549 GB, free: 15.11 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/5.808, allocations: 11.91 kB / 0.7549 GB, free: 15.1 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/5.808, allocations: 168.8 kB / 0.7551 GB, free: 14.91 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006033/5.809, allocations: 0.735 MB / 0.7558 GB, free: 14.14 MB / 0.6277 GB Notification: Performance of SimCode: time 1.132e-06/5.809, allocations: 0 / 0.7558 GB, free: 14.14 MB / 0.6277 GB