Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example8",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.149/2.149, allocations: 248.6 MB / 255.9 MB, free: 7.094 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.001699/0.001699, allocations: 183.6 kB / 315.1 MB, free: 4.297 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.868/1.868, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001363/0.001363, allocations: 86.78 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5746/0.576, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.8262, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6667/1.493, allocations: 130.9 MB / 1.011 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.493, allocations: 70.5 kB / 1.011 GB, free: 9.262 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.001077/1.494, allocations: 409.7 kB / 1.012 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.495, allocations: 8 kB / 1.012 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/1.495, allocations: 3.906 kB / 1.012 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.495, allocations: 171 kB / 1.012 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/1.495, allocations: 0 / 1.012 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/1.495, allocations: 0 / 1.012 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.442e-05/1.495, allocations: 0 / 1.012 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.225e-05/1.495, allocations: 40.61 kB / 1.012 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/1.495, allocations: 2.281 kB / 1.012 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/1.495, allocations: 0 / 1.012 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.495, allocations: 4 kB / 1.012 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/1.495, allocations: 138.8 kB / 1.012 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.039e-05/1.495, allocations: 41.22 kB / 1.012 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/1.495, allocations: 13.59 kB / 1.012 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/1.495, allocations: 0 / 1.012 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.495, allocations: 34.62 kB / 1.012 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/1.495, allocations: 0 / 1.012 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001631/1.496, allocations: 41.62 kB / 1.012 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.496, allocations: 81.11 kB / 1.012 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.032e-05/1.496, allocations: 87.52 kB / 1.012 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/1.496, allocations: 25.7 kB / 1.012 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/1.496, allocations: 80.14 kB / 1.012 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/1.496, allocations: 11.72 kB / 1.012 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.496, allocations: 0 / 1.012 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.496, allocations: 310.8 kB / 1.013 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/1.496, allocations: 8.062 kB / 1.013 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/1.496, allocations: 9.719 kB / 1.013 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/1.496, allocations: 4 kB / 1.013 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.496, allocations: 3.906 kB / 1.013 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.828e-05/1.496, allocations: 45.38 kB / 1.013 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.496, allocations: 4 kB / 1.013 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.496, allocations: 0 / 1.013 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.496, allocations: 4.875 kB / 1.013 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/1.496, allocations: 4 kB / 1.013 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/1.496, allocations: 0 / 1.013 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/1.496, allocations: 4 kB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.496, allocations: 3.984 kB / 1.013 GB, free: 7.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.961e-05/1.496, allocations: 104.9 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/1.496, allocations: 2.5 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/1.497, allocations: 56.2 kB / 1.013 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.497, allocations: 7.938 kB / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.497, allocations: 0 / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.497, allocations: 3.938 kB / 1.013 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/1.497, allocations: 126.2 kB / 1.013 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.497, allocations: 4 kB / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/1.497, allocations: 0 / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.497, allocations: 7.938 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/1.497, allocations: 3.984 kB / 1.013 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.497, allocations: 0 / 1.013 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.497, allocations: 4.062 kB / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001079/1.497, allocations: 77.31 kB / 1.013 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002528/1.497, allocations: 462 kB / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/1.497, allocations: 85.02 kB / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/1.497, allocations: 0 / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.022e-05/1.497, allocations: 3.984 kB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/1.497, allocations: 3.984 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/1.497, allocations: 4 kB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.413e-05/1.498, allocations: 75.28 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001043/1.499, allocations: 4.031 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001621/1.499, allocations: 98.69 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.075e-05/1.499, allocations: 4 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.499, allocations: 4 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/1.499, allocations: 3.938 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/1.499, allocations: 8.719 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/1.499, allocations: 64.39 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/1.5, allocations: 0.6841 MB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/1.5, allocations: 0 / 1.015 GB, free: 5.473 MB / 0.6355 GB