Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T",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 9.1.1-maint.9.1.x/package.mo): time 2.111/2.111, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 173.3 kB / 487 MB, free: 5.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 95.25 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7095/0.7106, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/1.036, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.756/5.792, allocations: 1.873 GB / 3.078 GB, free: 435.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/5.792, allocations: 88.64 kB / 3.079 GB, free: 435.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 1.728/7.52, allocations: 0.6097 GB / 3.688 GB, free: 267.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/7.52, allocations: 13 kB / 3.688 GB, free: 267.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/7.522, allocations: 282.5 kB / 3.689 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008517/7.523, allocations: 0.5788 MB / 3.689 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/7.523, allocations: 24 kB / 3.689 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/7.523, allocations: 51.28 kB / 3.689 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007375/7.523, allocations: 0.5184 MB / 3.69 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000934/7.524, allocations: 0.7807 MB / 3.69 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/7.524, allocations: 4 kB / 3.69 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/7.524, allocations: 7.75 kB / 3.69 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/7.524, allocations: 49.22 kB / 3.691 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/7.527, allocations: 3.697 MB / 3.694 GB, free: 261 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/7.528, allocations: 188.1 kB / 3.694 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/7.528, allocations: 117.1 kB / 3.694 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/7.528, allocations: 0.6321 MB / 3.695 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/7.528, allocations: 42.5 kB / 3.695 GB, free: 259.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/7.528, allocations: 0 / 3.695 GB, free: 259.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001462/7.53, allocations: 408.2 kB / 3.695 GB, free: 259.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/7.53, allocations: 114.7 kB / 3.696 GB, free: 259.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/7.53, allocations: 348.9 kB / 3.696 GB, free: 259 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/7.53, allocations: 25.7 kB / 3.696 GB, free: 259 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/7.53, allocations: 358.8 kB / 3.696 GB, free: 258.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/7.53, allocations: 70.05 kB / 3.696 GB, free: 258.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/7.53, allocations: 0 / 3.696 GB, free: 258.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/7.53, allocations: 346.8 kB / 3.697 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/7.531, allocations: 87.95 kB / 3.697 GB, free: 258.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/7.531, allocations: 202.1 kB / 3.697 GB, free: 257.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/7.531, allocations: 157.6 kB / 3.697 GB, free: 257.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/7.531, allocations: 4 kB / 3.697 GB, free: 257.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005579/7.532, allocations: 356.1 kB / 3.697 GB, free: 257.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/7.532, allocations: 4 kB / 3.697 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/7.532, allocations: 4 kB / 3.697 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/7.532, allocations: 6.719 kB / 3.697 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/7.532, allocations: 59.91 kB / 3.698 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/7.532, allocations: 4 kB / 3.698 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/7.533, allocations: 50.53 kB / 3.698 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/7.533, allocations: 27.7 kB / 3.698 GB, free: 257.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.989e-05/7.533, allocations: 120.6 kB / 3.698 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/7.533, allocations: 43.44 kB / 3.698 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/7.533, allocations: 262.6 kB / 3.698 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/7.533, allocations: 11.91 kB / 3.698 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/7.533, allocations: 0 / 3.698 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/7.533, allocations: 0 / 3.698 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/7.535, allocations: 1.199 MB / 3.699 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/7.535, allocations: 4 kB / 3.699 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/7.535, allocations: 46.89 kB / 3.699 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/7.535, allocations: 7.984 kB / 3.699 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/7.535, allocations: 4 kB / 3.699 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/7.535, allocations: 11.94 kB / 3.699 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/7.535, allocations: 7.156 kB / 3.699 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005204/7.536, allocations: 0.6232 MB / 3.7 GB, free: 254.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001003/7.537, allocations: 1.113 MB / 3.701 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/7.537, allocations: 136.5 kB / 3.701 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/7.537, allocations: 11.91 kB / 3.701 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/7.537, allocations: 31.03 kB / 3.701 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/7.537, allocations: 23.83 kB / 3.701 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/7.537, allocations: 14.94 kB / 3.701 GB, free: 253.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002239/7.537, allocations: 267.2 kB / 3.701 GB, free: 252.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001871/7.539, allocations: 0.5696 MB / 3.702 GB, free: 252.4 MB / 1.151 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 (19): * Single equations (assignments): 19 * 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.002356/7.542, allocations: 2.227 MB / 3.704 GB, free: 250.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003235/7.542, allocations: 210.1 kB / 3.704 GB, free: 250.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/7.542, allocations: 0 / 3.704 GB, free: 250.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/7.542, allocations: 98.66 kB / 3.704 GB, free: 250.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/7.543, allocations: 180.7 kB / 3.705 GB, free: 250.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/7.544, allocations: 0.8419 MB / 3.705 GB, free: 249.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/7.545, allocations: 1.055 MB / 3.706 GB, free: 248.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/7.545, allocations: 0 / 3.706 GB, free: 248.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)