Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7184/0.7184, allocations: 141.8 MB / 149.1 MB, free: 4.328 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001131, allocations: 168.9 kB / 181.9 MB, free: 15.99 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.4 MB / 436 MB, free: 9.156 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 95.31 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 280.7 kB / 0.5884 GB, free: 12.17 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1883/0.1904, allocations: 89.64 MB / 0.676 GB, free: 2.453 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.5813, allocations: 82.77 MB / 0.7568 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.198/3.779, allocations: 1.83 GB / 2.586 GB, free: 246.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/3.78, allocations: 87.94 kB / 2.587 GB, free: 246.8 MB / 0.6982 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.037/4.817, allocations: 415.6 MB / 2.992 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/4.817, allocations: 8 kB / 2.992 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/4.817, allocations: 71.23 kB / 2.992 GB, free: 103.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006791/4.817, allocations: 426.1 kB / 2.993 GB, free: 102.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/4.818, allocations: 16 kB / 2.993 GB, free: 102.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/4.818, allocations: 32 kB / 2.993 GB, free: 102.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004865/4.818, allocations: 286.5 kB / 2.993 GB, free: 102.4 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/4.819, allocations: 0.5949 MB / 2.994 GB, free: 101.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/4.819, allocations: 3.938 kB / 2.994 GB, free: 101.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/4.819, allocations: 11.94 kB / 2.994 GB, free: 101.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/4.819, allocations: 35.91 kB / 2.994 GB, free: 101.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/4.821, allocations: 2.99 MB / 2.997 GB, free: 98.52 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/4.821, allocations: 202.2 kB / 2.997 GB, free: 98.23 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/4.821, allocations: 116.7 kB / 2.997 GB, free: 98.09 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/4.821, allocations: 7.938 kB / 2.997 GB, free: 98.08 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/4.821, allocations: 46.5 kB / 2.997 GB, free: 98.03 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/4.821, allocations: 0 / 2.997 GB, free: 98.03 MB / 0.6982 GB Notification: Performance of matching and sorting (n=10): time 0.0004054/4.822, allocations: 133.2 kB / 2.997 GB, free: 97.89 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/4.822, allocations: 291 kB / 2.998 GB, free: 97.54 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/4.822, allocations: 219.6 kB / 2.998 GB, free: 97.32 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/4.822, allocations: 25.7 kB / 2.998 GB, free: 97.29 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/4.822, allocations: 267.4 kB / 2.998 GB, free: 97.02 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/4.822, allocations: 35.45 kB / 2.998 GB, free: 96.98 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/4.822, allocations: 0 / 2.998 GB, free: 96.98 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.714e-05/4.822, allocations: 338.8 kB / 2.998 GB, free: 96.64 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-05/4.822, allocations: 19.98 kB / 2.998 GB, free: 96.62 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/4.822, allocations: 96.58 kB / 2.998 GB, free: 96.5 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.901e-05/4.822, allocations: 43.91 kB / 2.999 GB, free: 96.46 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/4.822, allocations: 0 / 2.999 GB, free: 96.46 MB / 0.6982 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001537/4.822, allocations: 121.3 kB / 2.999 GB, free: 96.33 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/4.822, allocations: 6.969 kB / 2.999 GB, free: 96.33 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/4.822, allocations: 0 / 2.999 GB, free: 96.33 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/4.823, allocations: 4 kB / 2.999 GB, free: 96.32 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/4.823, allocations: 40.11 kB / 2.999 GB, free: 96.29 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/4.823, allocations: 7.906 kB / 2.999 GB, free: 96.28 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/4.823, allocations: 19.97 kB / 2.999 GB, free: 96.26 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/4.823, allocations: 8 kB / 2.999 GB, free: 96.25 MB / 0.6982 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.733e-05/4.823, allocations: 109 kB / 2.999 GB, free: 96.14 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/4.823, allocations: 31.62 kB / 2.999 GB, free: 96.11 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/4.823, allocations: 28.97 kB / 2.999 GB, free: 96.08 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/4.823, allocations: 7.938 kB / 2.999 GB, free: 96.07 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/4.823, allocations: 4 kB / 2.999 GB, free: 96.07 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/4.823, allocations: 0 / 2.999 GB, free: 96.07 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/4.824, allocations: 1.226 MB / 3 GB, free: 94.77 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/4.824, allocations: 288 / 3 GB, free: 94.77 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/4.824, allocations: 32.2 kB / 3 GB, free: 94.73 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/4.824, allocations: 4 kB / 3 GB, free: 94.73 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/4.824, allocations: 7.938 kB / 3 GB, free: 94.72 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/4.824, allocations: 4 kB / 3 GB, free: 94.72 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/4.824, allocations: 3.938 kB / 3 GB, free: 94.71 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001984/4.825, allocations: 386.1 kB / 3.001 GB, free: 94.24 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004665/4.825, allocations: 0.8228 MB / 3.001 GB, free: 93.31 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/4.825, allocations: 100.8 kB / 3.001 GB, free: 93.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/4.825, allocations: 4 kB / 3.001 GB, free: 93.19 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/4.825, allocations: 23.97 kB / 3.001 GB, free: 93.17 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/4.825, allocations: 15.91 kB / 3.001 GB, free: 93.15 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/4.826, allocations: 4 kB / 3.001 GB, free: 93.15 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001064/4.826, allocations: 175.1 kB / 3.002 GB, free: 92.98 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001523/4.827, allocations: 399.9 kB / 3.002 GB, free: 92.59 MB / 0.6982 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.001784/4.829, allocations: 1.653 MB / 3.004 GB, free: 90.89 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001607/4.829, allocations: 71.91 kB / 3.004 GB, free: 90.82 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/4.829, allocations: 4.312 kB / 3.004 GB, free: 90.81 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-05/4.829, allocations: 47.92 kB / 3.004 GB, free: 90.77 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/4.83, allocations: 85.2 kB / 3.004 GB, free: 90.68 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/4.831, allocations: 0.5812 MB / 3.004 GB, free: 90.05 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/4.831, allocations: 0.9384 MB / 3.005 GB, free: 89.08 MB / 0.6982 GB Notification: Performance of SimCode: time 2.71e-07/4.831, allocations: 0 / 3.005 GB, free: 89.08 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)