Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.561/4.561, allocations: 433 MB / 440.3 MB, free: 10.82 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2848/4.846, allocations: 104.3 MB / 0.5319 GB, free: 2.371 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5693/5.416, allocations: 98.71 MB / 0.6283 GB, free: 128 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/6.549, allocations: 416.3 MB / 1.035 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/6.549, allocations: 75.28 kB / 1.035 GB, free: 12.6 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.07326/6.622, allocations: 13.54 MB / 1.048 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/6.622, allocations: 11.94 kB / 1.048 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/6.623, allocations: 19.12 kB / 1.048 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/6.623, allocations: 244.8 kB / 1.048 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/6.623, allocations: 23.98 kB / 1.048 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/6.623, allocations: 8 kB / 1.048 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00159/6.625, allocations: 0.6186 MB / 1.049 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/6.625, allocations: 214.6 kB / 1.049 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/6.625, allocations: 0 / 1.049 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/6.625, allocations: 0 / 1.049 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/6.625, allocations: 4 kB / 1.049 GB, free: 244 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/6.626, allocations: 274.3 kB / 1.05 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009255/6.627, allocations: 413.6 kB / 1.05 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/6.627, allocations: 168 kB / 1.05 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/6.628, allocations: 387.7 kB / 1.05 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/6.628, allocations: 38.06 kB / 1.05 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 2.705e-06/6.628, allocations: 0 / 1.05 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.004986/6.633, allocations: 0.6917 MB / 1.051 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/6.633, allocations: 55.41 kB / 1.051 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/6.633, allocations: 116.7 kB / 1.051 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/6.633, allocations: 29.64 kB / 1.051 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/6.633, allocations: 88.72 kB / 1.051 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/6.634, allocations: 123.8 kB / 1.052 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/6.634, allocations: 0 / 1.052 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001418/6.634, allocations: 334.2 kB / 1.052 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/6.634, allocations: 133.2 kB / 1.052 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/6.635, allocations: 136.5 kB / 1.052 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/6.639, allocations: 494.5 kB / 1.053 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/6.639, allocations: 7.938 kB / 1.053 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.005635/6.645, allocations: 0.698 MB / 1.053 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/6.645, allocations: 4 kB / 1.053 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/6.645, allocations: 0 / 1.053 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/6.645, allocations: 0 / 1.053 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/6.646, allocations: 119.3 kB / 1.053 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/6.646, allocations: 4 kB / 1.053 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/6.646, allocations: 67.7 kB / 1.053 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/6.646, allocations: 8 kB / 1.053 GB, free: 12.06 MB / 0.7761 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 (37): * Single equations (assignments): 37 * 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.0001697/6.646, allocations: 104.9 kB / 1.054 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/6.647, allocations: 19.8 kB / 1.054 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/6.652, allocations: 0.7641 MB / 1.054 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/6.652, allocations: 4 kB / 1.054 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/6.652, allocations: 4 kB / 1.054 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/6.652, allocations: 3.984 kB / 1.054 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/6.652, allocations: 275.1 kB / 1.055 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/6.652, allocations: 0 / 1.055 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/6.653, allocations: 115.5 kB / 1.055 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/6.653, allocations: 0 / 1.055 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/6.653, allocations: 11.55 kB / 1.055 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/6.653, allocations: 4 kB / 1.055 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/6.653, allocations: 4 kB / 1.055 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005225/6.659, allocations: 0.7324 MB / 1.055 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005468/6.664, allocations: 1.115 MB / 1.057 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/6.664, allocations: 100.7 kB / 1.057 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/6.664, allocations: 8 kB / 1.057 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/6.665, allocations: 51.86 kB / 1.057 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/6.665, allocations: 79.67 kB / 1.057 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/6.665, allocations: 15.36 kB / 1.057 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.771e-05/6.665, allocations: 99.2 kB / 1.057 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001489/6.667, allocations: 121.1 kB / 1.057 GB, free: 8.559 MB / 0.7761 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 (37): * Single equations (assignments): 37 * 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.0008495/6.668, allocations: 254.7 kB / 1.057 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000977/6.669, allocations: 343.8 kB / 1.058 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/6.669, allocations: 7.875 kB / 1.058 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/6.669, allocations: 207.3 kB / 1.058 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/6.67, allocations: 58.84 kB / 1.058 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/6.671, allocations: 298.6 kB / 1.058 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/6.672, allocations: 0.7898 MB / 1.059 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of SimCode: time 1.183e-06/6.672, allocations: 4 kB / 1.059 GB, free: 6.703 MB / 0.7761 GB