Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example4.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.Example4,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example4",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.073/2.073, allocations: 248.6 MB / 255.9 MB, free: 7.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001682, allocations: 194.5 kB / 315.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.1 MB / 0.5658 GB, free: 344 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 101.7 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4638/0.4653, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.686, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.699/6.385, allocations: 2.224 GB / 3.107 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/6.385, allocations: 95.38 kB / 3.107 GB, free: 143.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 6.881/13.27, allocations: 1.406 GB / 4.514 GB, free: 79.82 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/13.27, allocations: 8 kB / 4.514 GB, free: 79.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/13.27, allocations: 0.5337 MB / 4.514 GB, free: 79.28 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005497/13.28, allocations: 1.242 MB / 4.516 GB, free: 78 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001908/13.28, allocations: 261.8 kB / 4.516 GB, free: 77.75 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003969/13.28, allocations: 67.89 kB / 4.516 GB, free: 77.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002424/13.28, allocations: 0.7225 MB / 4.517 GB, free: 76.96 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/13.28, allocations: 1.076 MB / 4.518 GB, free: 75.78 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/13.28, allocations: 7.938 kB / 4.518 GB, free: 75.77 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/13.28, allocations: 0 / 4.518 GB, free: 75.77 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/13.28, allocations: 42 kB / 4.518 GB, free: 75.73 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/13.3, allocations: 6.569 MB / 4.524 GB, free: 68.73 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/13.3, allocations: 452.7 kB / 4.525 GB, free: 68.26 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/13.3, allocations: 193.3 kB / 4.525 GB, free: 68.07 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/13.3, allocations: 364.7 kB / 4.525 GB, free: 67.64 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/13.3, allocations: 42.77 kB / 4.525 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 3.517e-06/13.3, allocations: 3.938 kB / 4.525 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.002449/13.3, allocations: 0.518 MB / 4.526 GB, free: 67.06 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/13.3, allocations: 55.41 kB / 4.526 GB, free: 67 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/13.3, allocations: 0.8305 MB / 4.526 GB, free: 66.16 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/13.3, allocations: 29.7 kB / 4.527 GB, free: 66.12 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/13.3, allocations: 0.5133 MB / 4.527 GB, free: 65.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/13.3, allocations: 118.5 kB / 4.527 GB, free: 65.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/13.3, allocations: 0 / 4.527 GB, free: 65.48 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001071/13.3, allocations: 330 kB / 4.527 GB, free: 65.15 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/13.31, allocations: 197.2 kB / 4.528 GB, free: 64.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007671/13.31, allocations: 0.5594 MB / 4.528 GB, free: 64.23 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/13.31, allocations: 302.1 kB / 4.528 GB, free: 63.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/13.31, allocations: 4 kB / 4.528 GB, free: 63.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002276/13.31, allocations: 0.7574 MB / 4.529 GB, free: 63.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008732/13.31, allocations: 4.1 MB / 4.533 GB, free: 58.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/13.31, allocations: 8 kB / 4.533 GB, free: 58.74 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.953e-05/13.31, allocations: 16 kB / 4.533 GB, free: 58.72 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/13.31, allocations: 219.7 kB / 4.533 GB, free: 58.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/13.31, allocations: 19.94 kB / 4.533 GB, free: 58.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/13.31, allocations: 195.1 kB / 4.534 GB, free: 58.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/13.32, allocations: 39.98 kB / 4.534 GB, free: 58.26 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/13.32, allocations: 4 kB / 4.534 GB, free: 58.25 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001799/13.32, allocations: 0.6203 MB / 4.534 GB, free: 57.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/13.32, allocations: 12.97 kB / 4.534 GB, free: 57.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/13.32, allocations: 16 kB / 4.534 GB, free: 57.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/13.32, allocations: 219.7 kB / 4.535 GB, free: 57.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/13.32, allocations: 23.92 kB / 4.535 GB, free: 57.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/13.32, allocations: 147.5 kB / 4.535 GB, free: 57.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/13.32, allocations: 43.98 kB / 4.535 GB, free: 57.18 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.000416/13.32, allocations: 140.5 kB / 4.535 GB, free: 57.04 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005841/13.32, allocations: 110.6 kB / 4.535 GB, free: 56.93 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/13.33, allocations: 0.5009 MB / 4.535 GB, free: 56.41 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/13.33, allocations: 4 kB / 4.535 GB, free: 56.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/13.33, allocations: 0 / 4.535 GB, free: 56.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/13.33, allocations: 0 / 4.535 GB, free: 56.4 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/13.33, allocations: 1.69 MB / 4.537 GB, free: 54.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/13.33, allocations: 7.984 kB / 4.537 GB, free: 54.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/13.33, allocations: 108.3 kB / 4.537 GB, free: 54.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/13.33, allocations: 8 kB / 4.537 GB, free: 54.49 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.565e-05/13.34, allocations: 12 kB / 4.537 GB, free: 54.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/13.34, allocations: 11.92 kB / 4.537 GB, free: 54.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/13.34, allocations: 4 kB / 4.537 GB, free: 54.46 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002223/13.34, allocations: 0.8413 MB / 4.538 GB, free: 53.5 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003355/13.34, allocations: 1.429 MB / 4.539 GB, free: 51.93 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/13.34, allocations: 259.5 kB / 4.54 GB, free: 51.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006523/13.34, allocations: 4 kB / 4.54 GB, free: 51.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/13.35, allocations: 111.8 kB / 4.54 GB, free: 51.55 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/13.35, allocations: 27.91 kB / 4.54 GB, free: 51.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/13.35, allocations: 27.97 kB / 4.54 GB, free: 51.49 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0019/13.35, allocations: 0.6202 MB / 4.54 GB, free: 50.87 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01094/13.36, allocations: 1.631 MB / 4.542 GB, free: 49.23 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.00574/13.36, allocations: 3.501 MB / 4.546 GB, free: 45.39 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002343/13.37, allocations: 0.8213 MB / 4.546 GB, free: 44.57 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/13.37, allocations: 4 kB / 4.546 GB, free: 44.56 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005065/13.37, allocations: 185.8 kB / 4.546 GB, free: 44.38 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/13.37, allocations: 389 kB / 4.547 GB, free: 44.01 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/13.38, allocations: 1.683 MB / 4.548 GB, free: 42.24 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/13.39, allocations: 1.305 MB / 4.55 GB, free: 40.91 MB / 0.9011 GB Notification: Performance of SimCode: time 2.044e-06/13.39, allocations: 0 / 4.55 GB, free: 40.91 MB / 0.9011 GB