Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.396/1.396, allocations: 285.5 MB / 292.8 MB, free: 10.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 193.2 kB / 361.1 MB, free: 7.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.1 MB / 0.6195 GB, free: 11.87 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008809/0.0008806, allocations: 92.61 kB / 0.7326 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2331/0.234, allocations: 121.4 MB / 0.8512 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.7883, allocations: 115.3 MB / 0.9637 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.349/4.138, allocations: 2.064 GB / 3.028 GB, free: 49.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/4.138, allocations: 85.69 kB / 3.028 GB, free: 49.88 MB / 0.948 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.112/5.25, allocations: 411.9 MB / 3.43 GB, free: 23.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/5.25, allocations: 8.5 kB / 3.43 GB, free: 23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/5.25, allocations: 71.25 kB / 3.43 GB, free: 22.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/5.251, allocations: 419.7 kB / 3.431 GB, free: 22.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/5.251, allocations: 19.91 kB / 3.431 GB, free: 22.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/5.251, allocations: 35.98 kB / 3.431 GB, free: 22.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004527/5.252, allocations: 286.8 kB / 3.431 GB, free: 22.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006478/5.252, allocations: 0.6026 MB / 3.432 GB, free: 21.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/5.252, allocations: 3.938 kB / 3.432 GB, free: 21.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/5.252, allocations: 4 kB / 3.432 GB, free: 21.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/5.252, allocations: 31.98 kB / 3.432 GB, free: 21.42 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/5.254, allocations: 3.002 MB / 3.435 GB, free: 18.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/5.254, allocations: 198.2 kB / 3.435 GB, free: 18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/5.254, allocations: 108.6 kB / 3.435 GB, free: 17.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/5.254, allocations: 15.94 kB / 3.435 GB, free: 17.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/5.254, allocations: 42.48 kB / 3.435 GB, free: 17.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/5.254, allocations: 0 / 3.435 GB, free: 17.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0003815/5.255, allocations: 141.2 kB / 3.435 GB, free: 17.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/5.255, allocations: 286.7 kB / 3.435 GB, free: 17.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/5.255, allocations: 219.6 kB / 3.436 GB, free: 17.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/5.255, allocations: 25.7 kB / 3.436 GB, free: 17.06 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/5.255, allocations: 267.8 kB / 3.436 GB, free: 16.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/5.255, allocations: 31.56 kB / 3.436 GB, free: 16.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/5.255, allocations: 0 / 3.436 GB, free: 16.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.656e-05/5.255, allocations: 335.1 kB / 3.436 GB, free: 16.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.358e-05/5.255, allocations: 23.98 kB / 3.436 GB, free: 16.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/5.255, allocations: 100.5 kB / 3.436 GB, free: 16.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/5.255, allocations: 43.91 kB / 3.436 GB, free: 16.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/5.255, allocations: 0 / 3.436 GB, free: 16.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/5.256, allocations: 133.3 kB / 3.437 GB, free: 16.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/5.256, allocations: 4 kB / 3.437 GB, free: 16.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/5.256, allocations: 0 / 3.437 GB, free: 16.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/5.256, allocations: 4 kB / 3.437 GB, free: 16.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/5.256, allocations: 23.98 kB / 3.437 GB, free: 16.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/5.256, allocations: 4 kB / 3.437 GB, free: 16.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/5.256, allocations: 23.92 kB / 3.437 GB, free: 16.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/5.256, allocations: 15.98 kB / 3.437 GB, free: 16.02 MB / 0.948 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 5.86e-05/5.256, allocations: 108.9 kB / 3.437 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/5.256, allocations: 27.72 kB / 3.437 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/5.256, allocations: 24.98 kB / 3.437 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/5.256, allocations: 11.91 kB / 3.437 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/5.256, allocations: 4 kB / 3.437 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/5.256, allocations: 4.266 kB / 3.437 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/5.257, allocations: 1.219 MB / 3.438 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/5.257, allocations: 7.984 kB / 3.438 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/5.257, allocations: 27.92 kB / 3.438 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/5.257, allocations: 7.906 kB / 3.438 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/5.258, allocations: 4.281 kB / 3.438 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/5.258, allocations: 11.94 kB / 3.438 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/5.258, allocations: 0 / 3.438 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001825/5.258, allocations: 378.2 kB / 3.438 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004606/5.258, allocations: 0.8189 MB / 3.439 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/5.258, allocations: 104.7 kB / 3.439 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/5.258, allocations: 7.938 kB / 3.439 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/5.258, allocations: 23.98 kB / 3.439 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/5.259, allocations: 11.98 kB / 3.439 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/5.259, allocations: 4 kB / 3.439 GB, free: 12.92 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001247/5.259, allocations: 179 kB / 3.44 GB, free: 12.74 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001487/5.26, allocations: 395.3 kB / 3.44 GB, free: 12.36 MB / 0.948 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.001771/5.262, allocations: 1.659 MB / 3.442 GB, free: 10.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001453/5.262, allocations: 79.78 kB / 3.442 GB, free: 10.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/5.262, allocations: 0 / 3.442 GB, free: 10.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.039e-05/5.262, allocations: 43.92 kB / 3.442 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/5.263, allocations: 91.25 kB / 3.442 GB, free: 10.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009025/5.264, allocations: 0.5813 MB / 3.442 GB, free: 9.797 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/5.264, allocations: 0.9392 MB / 3.443 GB, free: 8.832 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/5.264, allocations: 0 / 3.443 GB, free: 8.832 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)