Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 191 kB / 7.804 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4581/0.4581, allocations: 90.86 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 221.4 MB / 342.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 86.59 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1664/0.1675, allocations: 78.45 MB / 494 MB, free: 7.949 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.521, allocations: 72.3 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.598/4.119, allocations: 1.823 GB / 2.376 GB, free: 172 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/4.119, allocations: 85.77 kB / 2.376 GB, free: 172 MB / 0.6042 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.043/5.162, allocations: 415.6 MB / 2.782 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/5.162, allocations: 8 kB / 2.782 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/5.162, allocations: 63.25 kB / 2.782 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/5.163, allocations: 423.9 kB / 2.782 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/5.163, allocations: 19.91 kB / 2.782 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/5.163, allocations: 32 kB / 2.782 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004281/5.163, allocations: 290.5 kB / 2.782 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/5.164, allocations: 0.5949 MB / 2.783 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/5.164, allocations: 3.938 kB / 2.783 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/5.164, allocations: 4 kB / 2.783 GB, free: 28.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/5.164, allocations: 35.98 kB / 2.783 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/5.166, allocations: 2.999 MB / 2.786 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/5.166, allocations: 194.3 kB / 2.786 GB, free: 25.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/5.166, allocations: 116.5 kB / 2.786 GB, free: 25.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/5.166, allocations: 4 kB / 2.786 GB, free: 25.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/5.166, allocations: 50.48 kB / 2.786 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/5.166, allocations: 4 kB / 2.786 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003944/5.166, allocations: 133.4 kB / 2.786 GB, free: 24.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/5.166, allocations: 290.7 kB / 2.787 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/5.167, allocations: 219.9 kB / 2.787 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/5.167, allocations: 33.64 kB / 2.787 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/5.167, allocations: 259.6 kB / 2.787 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/5.167, allocations: 27.56 kB / 2.787 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/5.167, allocations: 0 / 2.787 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/5.167, allocations: 334.8 kB / 2.788 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/5.167, allocations: 27.98 kB / 2.788 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/5.167, allocations: 104.5 kB / 2.788 GB, free: 23.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/5.167, allocations: 31.97 kB / 2.788 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/5.167, allocations: 4 kB / 2.788 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001412/5.167, allocations: 125.2 kB / 2.788 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/5.167, allocations: 11.98 kB / 2.788 GB, free: 23.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/5.167, allocations: 0 / 2.788 GB, free: 23.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/5.167, allocations: 4 kB / 2.788 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/5.167, allocations: 28.11 kB / 2.788 GB, free: 23.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/5.167, allocations: 4.281 kB / 2.788 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/5.168, allocations: 27.83 kB / 2.788 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/5.168, allocations: 11.98 kB / 2.788 GB, free: 23.23 MB / 0.6042 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 6.202e-05/5.168, allocations: 116.9 kB / 2.788 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/5.168, allocations: 27.72 kB / 2.788 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/5.168, allocations: 32.89 kB / 2.788 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/5.168, allocations: 4 kB / 2.788 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/5.168, allocations: 0 / 2.788 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/5.168, allocations: 4 kB / 2.788 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/5.169, allocations: 1.219 MB / 2.789 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/5.169, allocations: 4 kB / 2.789 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/5.169, allocations: 40.09 kB / 2.789 GB, free: 21.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/5.169, allocations: 4 kB / 2.789 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/5.169, allocations: 4 kB / 2.789 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/5.169, allocations: 0 / 2.789 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/5.169, allocations: 4 kB / 2.789 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001997/5.169, allocations: 378.2 kB / 2.79 GB, free: 21.23 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00048/5.17, allocations: 0.815 MB / 2.79 GB, free: 20.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/5.17, allocations: 108.7 kB / 2.791 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/5.17, allocations: 11.98 kB / 2.791 GB, free: 20.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/5.17, allocations: 19.98 kB / 2.791 GB, free: 20.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/5.17, allocations: 11.98 kB / 2.791 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/5.17, allocations: 19.84 kB / 2.791 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001044/5.17, allocations: 175.1 kB / 2.791 GB, free: 19.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001379/5.172, allocations: 383.3 kB / 2.791 GB, free: 19.57 MB / 0.6042 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.001797/5.173, allocations: 1.647 MB / 2.793 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001558/5.174, allocations: 71.91 kB / 2.793 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/5.174, allocations: 0 / 2.793 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/5.174, allocations: 56.78 kB / 2.793 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/5.174, allocations: 92.42 kB / 2.793 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009286/5.175, allocations: 0.58 MB / 2.794 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/5.176, allocations: 0.9306 MB / 2.794 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/5.176, allocations: 4 kB / 2.794 GB, free: 16.05 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)