Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",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.274/4.274, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6274/4.901, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/5.212, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8921/6.104, allocations: 372.4 MB / 0.992 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/6.104, allocations: 86.34 kB / 0.9921 GB, free: 14.23 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 1.298/7.402, allocations: 245 MB / 1.231 GB, free: 164.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/7.402, allocations: 11.62 kB / 1.231 GB, free: 164.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/7.404, allocations: 195.7 kB / 1.232 GB, free: 164.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0409/7.445, allocations: 11.33 MB / 1.243 GB, free: 157.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006595/7.445, allocations: 85.34 kB / 1.243 GB, free: 157.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/7.445, allocations: 24.09 kB / 1.243 GB, free: 157.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001047/7.447, allocations: 290 kB / 1.243 GB, free: 157.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/7.448, allocations: 388 kB / 1.243 GB, free: 157 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/7.448, allocations: 5.172 kB / 1.243 GB, free: 157 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-05/7.448, allocations: 1.375 kB / 1.243 GB, free: 157 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/7.448, allocations: 9.312 kB / 1.243 GB, free: 157 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005327/7.453, allocations: 2.204 MB / 1.245 GB, free: 155 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/7.454, allocations: 258.7 kB / 1.246 GB, free: 154.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/7.455, allocations: 160.5 kB / 1.246 GB, free: 154.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003847/7.455, allocations: 337.5 kB / 1.246 GB, free: 154.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/7.455, allocations: 222.4 kB / 1.246 GB, free: 154.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.967e-06/7.456, allocations: 0 / 1.246 GB, free: 154.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001809/7.457, allocations: 421.7 kB / 1.247 GB, free: 154.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/7.457, allocations: 86.27 kB / 1.247 GB, free: 154 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/7.458, allocations: 371 kB / 1.247 GB, free: 153.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/7.458, allocations: 27.33 kB / 1.247 GB, free: 153.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/7.459, allocations: 215.9 kB / 1.247 GB, free: 153.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/7.459, allocations: 99.22 kB / 1.248 GB, free: 153.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/7.459, allocations: 1.375 kB / 1.248 GB, free: 153.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001839/7.459, allocations: 363 kB / 1.248 GB, free: 153.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/7.46, allocations: 111.9 kB / 1.248 GB, free: 153 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/7.461, allocations: 214.8 kB / 1.248 GB, free: 152.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/7.462, allocations: 161 kB / 1.248 GB, free: 152.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/7.462, allocations: 1.156 kB / 1.248 GB, free: 152.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001708/7.464, allocations: 454.2 kB / 1.249 GB, free: 152.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/7.464, allocations: 0.6192 MB / 1.249 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/7.464, allocations: 1.562 kB / 1.249 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/7.464, allocations: 42.19 kB / 1.249 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/7.465, allocations: 90.5 kB / 1.25 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007001/7.466, allocations: 0.6118 MB / 1.25 GB, free: 151.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/7.467, allocations: 74.88 kB / 1.25 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/7.467, allocations: 17.48 kB / 1.25 GB, free: 151.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/7.467, allocations: 3.594 kB / 1.25 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00144/7.469, allocations: 361.4 kB / 1.251 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/7.469, allocations: 1.531 kB / 1.251 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/7.469, allocations: 51.39 kB / 1.251 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/7.47, allocations: 86.31 kB / 1.251 GB, free: 151 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/7.472, allocations: 1.504 MB / 1.252 GB, free: 149.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/7.473, allocations: 71.05 kB / 1.252 GB, free: 149.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/7.473, allocations: 25.48 kB / 1.252 GB, free: 149.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002578/7.473, allocations: 144.1 kB / 1.252 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/7.474, allocations: 54.28 kB / 1.252 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/7.475, allocations: 482.6 kB / 1.253 GB, free: 149.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/7.475, allocations: 3.875 kB / 1.253 GB, free: 149.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/7.476, allocations: 0 / 1.253 GB, free: 149.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/7.477, allocations: 0.6357 MB / 1.254 GB, free: 148.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/7.48, allocations: 1.045 MB / 1.255 GB, free: 147.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/7.48, allocations: 0 / 1.255 GB, free: 147.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006939/7.481, allocations: 77.14 kB / 1.255 GB, free: 147.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/7.481, allocations: 31.66 kB / 1.255 GB, free: 147.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/7.481, allocations: 12.42 kB / 1.255 GB, free: 147.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004557/7.482, allocations: 0.5742 MB / 1.255 GB, free: 147.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/7.482, allocations: 4.938 kB / 1.255 GB, free: 147.3 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002107/7.484, allocations: 0.7286 MB / 1.256 GB, free: 146.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002793/7.487, allocations: 1.335 MB / 1.257 GB, free: 145.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/7.487, allocations: 176.3 kB / 1.257 GB, free: 145.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/7.487, allocations: 7.719 kB / 1.257 GB, free: 145.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/7.488, allocations: 66.09 kB / 1.258 GB, free: 145.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/7.489, allocations: 20.34 kB / 1.258 GB, free: 145.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.743e-05/7.489, allocations: 20.2 kB / 1.258 GB, free: 145.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000552/7.489, allocations: 293 kB / 1.258 GB, free: 145.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004198/7.493, allocations: 446.9 kB / 1.258 GB, free: 145.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/7.495, allocations: 419.3 kB / 1.259 GB, free: 145.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002137/7.497, allocations: 0.6729 MB / 1.259 GB, free: 144.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/7.497, allocations: 5.438 kB / 1.259 GB, free: 144.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006141/7.498, allocations: 229 kB / 1.26 GB, free: 144.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/7.5, allocations: 207.2 kB / 1.26 GB, free: 144.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/7.503, allocations: 0.7509 MB / 1.26 GB, free: 144.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/7.504, allocations: 0.9443 MB / 1.261 GB, free: 143.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.142e-06/7.504, allocations: 0 / 1.261 GB, free: 143.2 MB / 0.823 GB