Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Delays.Examples.Delay.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.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Delays_Examples_Delay",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.121/4.121, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5655/4.686, allocations: 104.3 MB / 0.5319 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/4.917, allocations: 98.72 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.474/10.39, allocations: 2.191 GB / 2.819 GB, free: 156.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/10.39, allocations: 91.64 kB / 2.819 GB, free: 156.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 1.936/12.33, allocations: 470.1 MB / 3.278 GB, free: 20.86 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/12.33, allocations: 8 kB / 3.278 GB, free: 20.85 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/12.33, allocations: 214.9 kB / 3.278 GB, free: 20.64 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/12.33, allocations: 0.636 MB / 3.279 GB, free: 19.96 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/12.33, allocations: 16 kB / 3.279 GB, free: 19.95 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/12.33, allocations: 31.91 kB / 3.279 GB, free: 19.91 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001074/12.33, allocations: 381.8 kB / 3.279 GB, free: 19.54 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/12.33, allocations: 404.5 kB / 3.28 GB, free: 19.14 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/12.33, allocations: 8 kB / 3.28 GB, free: 19.13 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/12.33, allocations: 3.938 kB / 3.28 GB, free: 19.13 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/12.33, allocations: 21 kB / 3.28 GB, free: 19.11 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/12.34, allocations: 2.024 MB / 3.282 GB, free: 16.95 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008408/12.34, allocations: 311.6 kB / 3.282 GB, free: 16.63 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/12.34, allocations: 173.8 kB / 3.282 GB, free: 16.46 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004105/12.34, allocations: 194.5 kB / 3.282 GB, free: 16.23 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/12.34, allocations: 34.84 kB / 3.282 GB, free: 16.19 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/12.34, allocations: 8 kB / 3.282 GB, free: 16.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.001682/12.34, allocations: 387.1 kB / 3.283 GB, free: 15.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/12.34, allocations: 55.41 kB / 3.283 GB, free: 15.73 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/12.34, allocations: 382.2 kB / 3.283 GB, free: 15.36 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/12.34, allocations: 25.7 kB / 3.283 GB, free: 15.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/12.34, allocations: 240.5 kB / 3.284 GB, free: 15.08 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/12.34, allocations: 122.2 kB / 3.284 GB, free: 14.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/12.34, allocations: 0 / 3.284 GB, free: 14.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001139/12.34, allocations: 358.8 kB / 3.284 GB, free: 14.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/12.34, allocations: 116.6 kB / 3.284 GB, free: 14.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/12.34, allocations: 202.3 kB / 3.284 GB, free: 14.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/12.34, allocations: 143.7 kB / 3.284 GB, free: 14.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/12.34, allocations: 0 / 3.284 GB, free: 14.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008983/12.34, allocations: 368.7 kB / 3.285 GB, free: 13.75 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/12.34, allocations: 363.9 kB / 3.285 GB, free: 13.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/12.34, allocations: 0 / 3.285 GB, free: 13.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/12.34, allocations: 7.984 kB / 3.285 GB, free: 13.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/12.35, allocations: 75.91 kB / 3.285 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/12.35, allocations: 4 kB / 3.285 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/12.35, allocations: 55.7 kB / 3.285 GB, free: 13.22 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/12.35, allocations: 12 kB / 3.285 GB, free: 13.21 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-06/12.35, allocations: 4 kB / 3.285 GB, free: 13.21 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007254/12.35, allocations: 287.6 kB / 3.286 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/12.35, allocations: 8.078 kB / 3.286 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/12.35, allocations: 4 kB / 3.286 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/12.35, allocations: 75.91 kB / 3.286 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/12.35, allocations: 0 / 3.286 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/12.35, allocations: 59.64 kB / 3.286 GB, free: 12.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/12.35, allocations: 12 kB / 3.286 GB, free: 12.77 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (39): * Single equations (assignments): 39 * 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.0001557/12.35, allocations: 112.9 kB / 3.286 GB, free: 12.65 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/12.35, allocations: 55.34 kB / 3.286 GB, free: 12.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009952/12.35, allocations: 358.7 kB / 3.286 GB, free: 12.24 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/12.35, allocations: 0 / 3.286 GB, free: 12.24 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/12.35, allocations: 4 kB / 3.286 GB, free: 12.24 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000651/12.35, allocations: 388.2 kB / 3.287 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/12.35, allocations: 1.048 MB / 3.288 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/12.35, allocations: 4 kB / 3.288 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/12.35, allocations: 84.08 kB / 3.288 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/12.35, allocations: 8 kB / 3.288 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/12.35, allocations: 8 kB / 3.288 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/12.35, allocations: 4 kB / 3.288 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/12.35, allocations: 7.891 kB / 3.288 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001284/12.36, allocations: 0.7214 MB / 3.288 GB, free: 9.816 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001994/12.36, allocations: 1.351 MB / 3.29 GB, free: 8.391 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/12.36, allocations: 184.3 kB / 3.29 GB, free: 8.191 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/12.36, allocations: 4 kB / 3.29 GB, free: 8.188 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/12.36, allocations: 47.95 kB / 3.29 GB, free: 8.141 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/12.36, allocations: 27.91 kB / 3.29 GB, free: 8.113 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/12.36, allocations: 15.94 kB / 3.29 GB, free: 8.098 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005212/12.36, allocations: 294.9 kB / 3.29 GB, free: 7.812 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004108/12.36, allocations: 0.6983 MB / 3.291 GB, free: 7.113 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.00237/12.37, allocations: 1.435 MB / 3.292 GB, free: 5.629 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001278/12.37, allocations: 474.9 kB / 3.293 GB, free: 5.164 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/12.37, allocations: 0 / 3.293 GB, free: 5.164 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/12.37, allocations: 167.8 kB / 3.293 GB, free: 5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/12.37, allocations: 326.1 kB / 3.293 GB, free: 4.684 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/12.37, allocations: 0.9819 MB / 3.294 GB, free: 3.652 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000774/12.38, allocations: 1.007 MB / 3.295 GB, free: 2.621 MB / 0.823 GB Notification: Performance of SimCode: time 1.242e-06/12.38, allocations: 0 / 3.295 GB, free: 2.621 MB / 0.823 GB