Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h",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.261/2.261, allocations: 248.6 MB / 255.9 MB, free: 7.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.00165, allocations: 187.4 kB / 315.1 MB, free: 8.594 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.1 MB / 0.5658 GB, free: 4.176 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 89.72 kB / 0.67 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.5035/0.5049, allocations: 112.4 MB / 0.7797 GB, free: 107.4 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.718, allocations: 106.2 MB / 0.8835 GB, free: 1.074 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.231/6.949, allocations: 2.183 GB / 3.067 GB, free: 208.4 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/6.95, allocations: 83.88 kB / 3.067 GB, free: 208.3 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.954/8.903, allocations: 398.6 MB / 3.456 GB, free: 162.4 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/8.903, allocations: 12 kB / 3.456 GB, free: 162.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/8.904, allocations: 67.25 kB / 3.456 GB, free: 162.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/8.905, allocations: 435.8 kB / 3.456 GB, free: 161.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/8.905, allocations: 16 kB / 3.456 GB, free: 161.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/8.905, allocations: 32 kB / 3.456 GB, free: 161.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008269/8.906, allocations: 286.5 kB / 3.457 GB, free: 161.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/8.907, allocations: 0.5968 MB / 3.457 GB, free: 160.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/8.907, allocations: 3.938 kB / 3.457 GB, free: 160.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/8.907, allocations: 4 kB / 3.457 GB, free: 160.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/8.907, allocations: 35.91 kB / 3.457 GB, free: 160.8 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/8.91, allocations: 2.983 MB / 3.46 GB, free: 157.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/8.91, allocations: 206.2 kB / 3.46 GB, free: 157.4 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/8.91, allocations: 116.9 kB / 3.461 GB, free: 157.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/8.91, allocations: 8 kB / 3.461 GB, free: 157.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/8.91, allocations: 42.5 kB / 3.461 GB, free: 157.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 3.056e-06/8.911, allocations: 7.875 kB / 3.461 GB, free: 157.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0005621/8.911, allocations: 137.1 kB / 3.461 GB, free: 157 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/8.911, allocations: 286.7 kB / 3.461 GB, free: 156.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/8.911, allocations: 223.6 kB / 3.461 GB, free: 156.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/8.912, allocations: 25.7 kB / 3.461 GB, free: 156.4 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/8.912, allocations: 271.8 kB / 3.462 GB, free: 156.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/8.912, allocations: 31.55 kB / 3.462 GB, free: 156.1 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/8.912, allocations: 0 / 3.462 GB, free: 156.1 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/8.912, allocations: 338.8 kB / 3.462 GB, free: 155.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/8.912, allocations: 19.98 kB / 3.462 GB, free: 155.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/8.912, allocations: 96.58 kB / 3.462 GB, free: 155.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/8.912, allocations: 39.91 kB / 3.462 GB, free: 155.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/8.912, allocations: 0 / 3.462 GB, free: 155.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002711/8.912, allocations: 129.3 kB / 3.462 GB, free: 155.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/8.912, allocations: 4 kB / 3.462 GB, free: 155.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-06/8.912, allocations: 0 / 3.462 GB, free: 155.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/8.912, allocations: 4 kB / 3.462 GB, free: 155.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/8.913, allocations: 35.92 kB / 3.462 GB, free: 155.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/8.913, allocations: 0 / 3.462 GB, free: 155.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/8.913, allocations: 35.94 kB / 3.462 GB, free: 155.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/8.913, allocations: 8 kB / 3.462 GB, free: 155.4 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.017e-05/8.913, allocations: 105 kB / 3.462 GB, free: 155.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/8.913, allocations: 23.72 kB / 3.462 GB, free: 155.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.355e-05/8.914, allocations: 40.88 kB / 3.462 GB, free: 155.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/8.914, allocations: 11.94 kB / 3.462 GB, free: 155.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/8.914, allocations: 4 kB / 3.462 GB, free: 155.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/8.914, allocations: 0 / 3.462 GB, free: 155.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/8.915, allocations: 1.215 MB / 3.464 GB, free: 153.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/8.915, allocations: 7.906 kB / 3.464 GB, free: 153.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/8.916, allocations: 27.92 kB / 3.464 GB, free: 153.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-06/8.916, allocations: 4 kB / 3.464 GB, free: 153.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/8.916, allocations: 8.281 kB / 3.464 GB, free: 153.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/8.916, allocations: 4 kB / 3.464 GB, free: 153.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/8.916, allocations: 3.938 kB / 3.464 GB, free: 153.9 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002994/8.916, allocations: 386.4 kB / 3.464 GB, free: 153.4 MB / 0.8731 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006381/8.917, allocations: 0.8072 MB / 3.465 GB, free: 152.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/8.917, allocations: 116.7 kB / 3.465 GB, free: 152.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/8.917, allocations: 4 kB / 3.465 GB, free: 152.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/8.917, allocations: 19.98 kB / 3.465 GB, free: 152.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/8.917, allocations: 15.89 kB / 3.465 GB, free: 152.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/8.917, allocations: 4 kB / 3.465 GB, free: 152.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.0002014/8.917, allocations: 179.1 kB / 3.465 GB, free: 152.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002164/8.92, allocations: 391.3 kB / 3.465 GB, free: 151.7 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002635/8.922, allocations: 1.644 MB / 3.467 GB, free: 150 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002948/8.923, allocations: 71.91 kB / 3.467 GB, free: 150 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/8.923, allocations: 3.938 kB / 3.467 GB, free: 150 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/8.923, allocations: 43.92 kB / 3.467 GB, free: 149.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/8.924, allocations: 94.98 kB / 3.467 GB, free: 149.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/8.925, allocations: 0.5848 MB / 3.468 GB, free: 149.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/8.926, allocations: 0.9384 MB / 3.469 GB, free: 148.2 MB / 0.8731 GB Notification: Performance of SimCode: time 1.112e-06/8.926, allocations: 0 / 3.469 GB, free: 148.2 MB / 0.8731 GB