Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",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.698/3.698, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5196/4.218, allocations: 104.3 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/4.454, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/5.483, allocations: 378.5 MB / 0.998 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/5.484, allocations: 86.97 kB / 0.998 GB, free: 9.25 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.7687/6.252, allocations: 100.5 MB / 1.096 GB, free: 197.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/6.252, allocations: 13.16 kB / 1.096 GB, free: 197.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/6.253, allocations: 48.44 kB / 1.096 GB, free: 197.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02112/6.274, allocations: 6.42 MB / 1.103 GB, free: 197.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/6.274, allocations: 10.06 kB / 1.103 GB, free: 197.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/6.274, allocations: 19 kB / 1.103 GB, free: 197.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004659/6.275, allocations: 145.9 kB / 1.103 GB, free: 197.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/6.275, allocations: 237.5 kB / 1.103 GB, free: 197 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/6.275, allocations: 7.219 kB / 1.103 GB, free: 197 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/6.275, allocations: 3.656 kB / 1.103 GB, free: 197 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/6.275, allocations: 9.5 kB / 1.103 GB, free: 197 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/6.278, allocations: 1.418 MB / 1.104 GB, free: 196.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/6.278, allocations: 107.4 kB / 1.104 GB, free: 196 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/6.278, allocations: 48.27 kB / 1.104 GB, free: 196 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/6.278, allocations: 87.95 kB / 1.105 GB, free: 195.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/6.278, allocations: 99.06 kB / 1.105 GB, free: 195.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 3.847e-06/6.278, allocations: 0 / 1.105 GB, free: 195.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.000442/6.279, allocations: 134.2 kB / 1.105 GB, free: 195.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/6.279, allocations: 55.2 kB / 1.105 GB, free: 195.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/6.279, allocations: 278.4 kB / 1.105 GB, free: 195.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/6.279, allocations: 31.98 kB / 1.105 GB, free: 195.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/6.28, allocations: 180 kB / 1.105 GB, free: 195.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/6.28, allocations: 52.16 kB / 1.105 GB, free: 195.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/6.28, allocations: 0 / 1.105 GB, free: 195.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/6.28, allocations: 340 kB / 1.106 GB, free: 195.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/6.28, allocations: 45.31 kB / 1.106 GB, free: 195.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/6.28, allocations: 128.9 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/6.28, allocations: 76.33 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/6.28, allocations: 2.156 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006089/6.281, allocations: 227 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/6.281, allocations: 7.266 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/6.281, allocations: 3.969 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/6.281, allocations: 3.938 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/6.282, allocations: 58.55 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/6.282, allocations: 3.938 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/6.282, allocations: 42.81 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/6.282, allocations: 11.19 kB / 1.106 GB, free: 195.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001101/6.282, allocations: 115.5 kB / 1.106 GB, free: 194.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/6.282, allocations: 26.66 kB / 1.106 GB, free: 194.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/6.283, allocations: 158.2 kB / 1.107 GB, free: 194.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/6.283, allocations: 3.5 kB / 1.107 GB, free: 194.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/6.283, allocations: 0 / 1.107 GB, free: 194.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003563/6.283, allocations: 453.7 kB / 1.107 GB, free: 194.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/6.284, allocations: 299.7 kB / 1.107 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/6.284, allocations: 0 / 1.107 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/6.284, allocations: 39.05 kB / 1.107 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/6.284, allocations: 3.781 kB / 1.107 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/6.284, allocations: 0 / 1.107 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/6.284, allocations: 0 / 1.107 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/6.284, allocations: 3.375 kB / 1.107 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005152/6.285, allocations: 231.4 kB / 1.108 GB, free: 194.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007138/6.286, allocations: 0.6617 MB / 1.108 GB, free: 193.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/6.286, allocations: 123.7 kB / 1.108 GB, free: 193.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/6.286, allocations: 6.688 kB / 1.108 GB, free: 193.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/6.286, allocations: 18.38 kB / 1.108 GB, free: 193.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/6.286, allocations: 23.64 kB / 1.108 GB, free: 193.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/6.286, allocations: 3.438 kB / 1.108 GB, free: 193.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003092/6.287, allocations: 212 kB / 1.109 GB, free: 193.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001571/6.288, allocations: 151 kB / 1.109 GB, free: 193.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005064/6.289, allocations: 235.3 kB / 1.109 GB, free: 193.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004427/6.289, allocations: 166.8 kB / 1.109 GB, free: 193.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/6.289, allocations: 3.062 kB / 1.109 GB, free: 193.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/6.289, allocations: 54.98 kB / 1.109 GB, free: 193.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/6.291, allocations: 166.8 kB / 1.109 GB, free: 193.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/6.293, allocations: 0.5253 MB / 1.11 GB, free: 193.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/6.293, allocations: 0.8422 MB / 1.111 GB, free: 192.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.693e-06/6.293, allocations: 0 / 1.111 GB, free: 192.5 MB / 0.823 GB