Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001841/0.001842, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.431/1.431, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0008959/0.0008958, allocations: 89.97 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2638/0.2647, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.9658, allocations: 116.3 MB / 0.9726 GB, free: 68.53 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.173/5.139, allocations: 2.065 GB / 3.038 GB, free: 11.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/5.139, allocations: 79.95 kB / 3.038 GB, free: 11.12 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.748/6.886, allocations: 411.9 MB / 3.44 GB, free: 238.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/6.887, allocations: 7.781 kB / 3.44 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/6.887, allocations: 70.25 kB / 3.44 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/6.887, allocations: 425 kB / 3.441 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/6.887, allocations: 13.69 kB / 3.441 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/6.887, allocations: 33.16 kB / 3.441 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004565/6.888, allocations: 286.8 kB / 3.441 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/6.889, allocations: 0.5907 MB / 3.442 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/6.889, allocations: 9.562 kB / 3.442 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/6.889, allocations: 7.438 kB / 3.442 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/6.889, allocations: 32.5 kB / 3.442 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/6.891, allocations: 2.988 MB / 3.445 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/6.891, allocations: 205.1 kB / 3.445 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/6.891, allocations: 116.7 kB / 3.445 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/6.891, allocations: 7.25 kB / 3.445 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/6.891, allocations: 40.06 kB / 3.445 GB, free: 235.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.885e-06/6.891, allocations: 3.656 kB / 3.445 GB, free: 235.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004182/6.891, allocations: 137.9 kB / 3.445 GB, free: 235.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/6.892, allocations: 293.5 kB / 3.445 GB, free: 234.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/6.892, allocations: 216.6 kB / 3.445 GB, free: 234.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/6.892, allocations: 28.64 kB / 3.446 GB, free: 234.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/6.892, allocations: 255.5 kB / 3.446 GB, free: 234.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/6.892, allocations: 34.16 kB / 3.446 GB, free: 234.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/6.892, allocations: 0 / 3.446 GB, free: 234.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/6.892, allocations: 341.5 kB / 3.446 GB, free: 234.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/6.892, allocations: 21.69 kB / 3.446 GB, free: 234.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/6.892, allocations: 108.5 kB / 3.446 GB, free: 234.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/6.892, allocations: 40.08 kB / 3.446 GB, free: 234.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/6.892, allocations: 3.719 kB / 3.446 GB, free: 234.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001645/6.893, allocations: 121 kB / 3.446 GB, free: 234.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/6.893, allocations: 7.844 kB / 3.446 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/6.893, allocations: 3.875 kB / 3.446 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/6.893, allocations: 3.594 kB / 3.446 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/6.893, allocations: 25.53 kB / 3.446 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/6.893, allocations: 3.938 kB / 3.446 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/6.893, allocations: 28.7 kB / 3.446 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/6.893, allocations: 7.688 kB / 3.446 GB, free: 234.1 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 7.829e-05/6.893, allocations: 115.7 kB / 3.447 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/6.893, allocations: 25.28 kB / 3.447 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/6.893, allocations: 28.56 kB / 3.447 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/6.893, allocations: 6.469 kB / 3.447 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/6.893, allocations: 0 / 3.447 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/6.893, allocations: 7.406 kB / 3.447 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/6.895, allocations: 1.224 MB / 3.448 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/6.895, allocations: 7.156 kB / 3.448 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/6.895, allocations: 32.72 kB / 3.448 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/6.895, allocations: 3.906 kB / 3.448 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/6.895, allocations: 3.844 kB / 3.448 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/6.895, allocations: 3.062 kB / 3.448 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/6.895, allocations: 3.125 kB / 3.448 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002521/6.895, allocations: 381.5 kB / 3.448 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005928/6.896, allocations: 0.8195 MB / 3.449 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/6.896, allocations: 107.7 kB / 3.449 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/6.896, allocations: 7.344 kB / 3.449 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/6.896, allocations: 24.17 kB / 3.449 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/6.896, allocations: 10.14 kB / 3.449 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/6.896, allocations: 7.688 kB / 3.449 GB, free: 231.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001404/6.896, allocations: 178.3 kB / 3.449 GB, free: 231.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001597/6.898, allocations: 390.6 kB / 3.45 GB, free: 231.8 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.001971/6.9, allocations: 1.642 MB / 3.451 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001637/6.9, allocations: 77.73 kB / 3.451 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/6.9, allocations: 3.469 kB / 3.451 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/6.9, allocations: 44.44 kB / 3.451 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/6.9, allocations: 97.39 kB / 3.452 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/6.901, allocations: 0.5872 MB / 3.452 GB, free: 231.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/6.902, allocations: 0.9344 MB / 3.453 GB, free: 230.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/6.902, allocations: 0 / 3.453 GB, free: 230.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)