Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example3",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.227/2.227, allocations: 248.6 MB / 255.9 MB, free: 1.555 MB / 195.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001712/0.001711, allocations: 185.2 kB / 315.1 MB, free: 9.984 MB / 259.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.1 MB / 0.5658 GB, free: 14.4 MB / 435.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 96.77 kB / 0.67 GB, free: 52.2 MB / 499.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2735/0.2749, allocations: 112.4 MB / 0.7797 GB, free: 10.97 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.5427, allocations: 106.3 MB / 0.8835 GB, free: 0.5977 MB / 0.6437 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.399/1.942, allocations: 397 MB / 1.271 GB, free: 200 MB / 0.8312 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/1.942, allocations: 88.05 kB / 1.271 GB, free: 200 MB / 0.8312 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 3.482/5.424, allocations: 0.6881 GB / 1.959 GB, free: 162.3 MB / 0.878 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/5.424, allocations: 9.625 kB / 1.959 GB, free: 162.3 MB / 0.878 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004242/5.429, allocations: 299.8 kB / 1.96 GB, free: 162.2 MB / 0.878 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/5.44, allocations: 2.547 MB / 1.962 GB, free: 161.8 MB / 0.878 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/5.44, allocations: 27.5 kB / 1.962 GB, free: 161.8 MB / 0.878 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/5.441, allocations: 63.19 kB / 1.962 GB, free: 161.8 MB / 0.878 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002843/5.444, allocations: 0.8604 MB / 1.963 GB, free: 161.8 MB / 0.878 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/5.448, allocations: 1.082 MB / 1.964 GB, free: 161.5 MB / 0.878 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.452e-05/5.448, allocations: 7.094 kB / 1.964 GB, free: 161.5 MB / 0.878 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/5.448, allocations: 6.719 kB / 1.964 GB, free: 161.5 MB / 0.878 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/5.448, allocations: 22.75 kB / 1.964 GB, free: 161.5 MB / 0.878 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01573/5.464, allocations: 6.568 MB / 1.971 GB, free: 157.6 MB / 0.878 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/5.466, allocations: 0.5725 MB / 1.971 GB, free: 157.6 MB / 0.878 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/5.467, allocations: 372.9 kB / 1.972 GB, free: 157.5 MB / 0.878 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007627/5.475, allocations: 1.664 MB / 1.973 GB, free: 156.7 MB / 0.878 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/5.476, allocations: 324.3 kB / 1.973 GB, free: 156.6 MB / 0.878 GB Notification: Performance of pre-optimization done (n=47): time 5.991e-06/5.476, allocations: 0.8438 kB / 1.973 GB, free: 156.6 MB / 0.878 GB Notification: Performance of matching and sorting (n=47): time 0.00484/5.481, allocations: 0.8423 MB / 1.974 GB, free: 156.5 MB / 0.878 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/5.481, allocations: 58.12 kB / 1.974 GB, free: 156.4 MB / 0.878 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/5.484, allocations: 1.381 MB / 1.976 GB, free: 156.2 MB / 0.878 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/5.484, allocations: 29.61 kB / 1.976 GB, free: 156.2 MB / 0.878 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/5.485, allocations: 0.5355 MB / 1.976 GB, free: 155.9 MB / 0.878 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/5.485, allocations: 165 kB / 1.976 GB, free: 155.8 MB / 0.878 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/5.485, allocations: 3.172 kB / 1.976 GB, free: 155.8 MB / 0.878 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/5.485, allocations: 340.3 kB / 1.977 GB, free: 155.5 MB / 0.878 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007089/5.486, allocations: 267.7 kB / 1.977 GB, free: 155.5 MB / 0.878 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/5.487, allocations: 0.6866 MB / 1.978 GB, free: 155 MB / 0.878 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/5.489, allocations: 437.5 kB / 1.978 GB, free: 155 MB / 0.878 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/5.489, allocations: 0 / 1.978 GB, free: 155 MB / 0.878 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004153/5.493, allocations: 1.126 MB / 1.979 GB, free: 154.8 MB / 0.878 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009581/5.494, allocations: 4.068 MB / 1.983 GB, free: 150.5 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.65e-05/5.494, allocations: 10.03 kB / 1.983 GB, free: 150.5 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005788/5.495, allocations: 123.8 kB / 1.983 GB, free: 150.5 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/5.497, allocations: 178.8 kB / 1.983 GB, free: 150.5 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/5.498, allocations: 0.8074 MB / 1.984 GB, free: 150 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/5.5, allocations: 130.2 kB / 1.984 GB, free: 150 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/5.501, allocations: 46.83 kB / 1.984 GB, free: 150 MB / 0.878 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/5.501, allocations: 4.656 kB / 1.984 GB, free: 150 MB / 0.878 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003299/5.504, allocations: 0.935 MB / 1.985 GB, free: 149.8 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/5.504, allocations: 7.281 kB / 1.985 GB, free: 149.8 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/5.504, allocations: 126.1 kB / 1.985 GB, free: 149.8 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/5.506, allocations: 165.5 kB / 1.986 GB, free: 149.8 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/5.509, allocations: 1.995 MB / 1.988 GB, free: 148.5 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/5.511, allocations: 103.2 kB / 1.988 GB, free: 148.5 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/5.511, allocations: 41.92 kB / 1.988 GB, free: 148.5 MB / 0.878 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005384/5.512, allocations: 140.5 kB / 1.988 GB, free: 148.4 MB / 0.878 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006887/5.513, allocations: 164 kB / 1.988 GB, free: 148.3 MB / 0.878 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/5.516, allocations: 0.9875 MB / 1.989 GB, free: 148.2 MB / 0.878 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/5.516, allocations: 7.781 kB / 1.989 GB, free: 148.2 MB / 0.878 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/5.516, allocations: 0 / 1.989 GB, free: 148.2 MB / 0.878 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002101/5.519, allocations: 0.8941 MB / 1.99 GB, free: 147.9 MB / 0.878 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006161/5.525, allocations: 1.943 MB / 1.992 GB, free: 147.5 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/5.525, allocations: 0 / 1.992 GB, free: 147.5 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/5.526, allocations: 99.11 kB / 1.992 GB, free: 147.5 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/5.526, allocations: 98.55 kB / 1.992 GB, free: 147.5 MB / 0.878 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/5.526, allocations: 14.31 kB / 1.992 GB, free: 147.5 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008041/5.527, allocations: 0.7487 MB / 1.993 GB, free: 147 MB / 0.878 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/5.527, allocations: 0.6562 kB / 1.993 GB, free: 147 MB / 0.878 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003472/5.531, allocations: 1.306 MB / 1.994 GB, free: 146.7 MB / 0.878 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004492/5.535, allocations: 2.093 MB / 1.996 GB, free: 146 MB / 0.878 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/5.536, allocations: 310.7 kB / 1.996 GB, free: 145.8 MB / 0.878 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005822/5.537, allocations: 3.156 kB / 1.996 GB, free: 145.8 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/5.539, allocations: 71.16 kB / 1.996 GB, free: 145.8 MB / 0.878 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/5.54, allocations: 38.11 kB / 1.996 GB, free: 145.8 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/5.54, allocations: 27.83 kB / 1.996 GB, free: 145.8 MB / 0.878 GB Notification: Performance of sort global known variables: time 0.002615/5.542, allocations: 1.065 MB / 1.997 GB, free: 145.7 MB / 0.878 GB Notification: Performance of remove unused functions: time 0.007321/5.55, allocations: 1.027 MB / 1.998 GB, free: 145.6 MB / 0.878 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003107/5.553, allocations: 0.762 MB / 1.999 GB, free: 145.4 MB / 0.878 GB Notification: Performance of simCode: created initialization part: time 0.005174/5.558, allocations: 1.308 MB / 2 GB, free: 145.2 MB / 0.878 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/5.558, allocations: 0 / 2 GB, free: 145.2 MB / 0.878 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/5.559, allocations: 301.6 kB / 2.001 GB, free: 145.2 MB / 0.878 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/5.565, allocations: 0.5971 MB / 2.001 GB, free: 145.2 MB / 0.878 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/5.574, allocations: 2.279 MB / 2.004 GB, free: 144.6 MB / 0.878 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/5.577, allocations: 1.664 MB / 2.005 GB, free: 143.9 MB / 0.878 GB Notification: Performance of SimCode: time 1.963e-06/5.577, allocations: 0 / 2.005 GB, free: 143.9 MB / 0.878 GB