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: translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") [: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.7803/0.7803, allocations: 141.8 MB / 149.1 MB, free: 1.066 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.001187/0.001187, allocations: 185.2 kB / 181.9 MB, free: 376 kB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.3 MB / 436 MB, free: 5.148 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.001182/0.001182, allocations: 103.8 kB / 0.507 GB, free: 1.816 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 281.2 kB / 0.5885 GB, free: 46.93 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 8.716e-06/8.746e-06, allocations: 1.969 kB / 0.6759 GB, free: 59.43 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2049, allocations: 82.79 MB / 0.7567 GB, free: 392 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.262/4.467, allocations: 1.83 GB / 2.586 GB, free: 124.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/4.468, allocations: 79.95 kB / 2.586 GB, free: 124.3 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.568/6.036, allocations: 414.7 MB / 2.991 GB, free: 150.7 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 7.318e-05/6.036, allocations: 19.98 kB / 2.992 GB, free: 150.7 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 0.002173/6.038, allocations: 0.8504 MB / 2.992 GB, free: 150.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/6.038, allocations: 10.69 kB / 2.992 GB, free: 150.3 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/6.038, allocations: 67.19 kB / 2.992 GB, free: 150.3 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/6.039, allocations: 424.8 kB / 2.993 GB, free: 150 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/6.039, allocations: 15.81 kB / 2.993 GB, free: 150 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/6.039, allocations: 32 kB / 2.993 GB, free: 150 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005147/6.04, allocations: 286.1 kB / 2.993 GB, free: 150 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/6.04, allocations: 0.6008 MB / 2.994 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/6.04, allocations: 0 / 2.994 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/6.04, allocations: 6.156 kB / 2.994 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/6.04, allocations: 41.69 kB / 2.994 GB, free: 149.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/6.042, allocations: 2.991 MB / 2.997 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/6.043, allocations: 202.7 kB / 2.997 GB, free: 147.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/6.043, allocations: 111.4 kB / 2.997 GB, free: 147.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/6.043, allocations: 4.5 kB / 2.997 GB, free: 147.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/6.043, allocations: 48.22 kB / 2.997 GB, free: 147.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/6.043, allocations: 0 / 2.997 GB, free: 147.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=10): time 0.0003963/6.043, allocations: 135.8 kB / 2.997 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/6.043, allocations: 295.4 kB / 2.997 GB, free: 146.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/6.043, allocations: 217.8 kB / 2.998 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/6.043, allocations: 25.7 kB / 2.998 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/6.044, allocations: 264.8 kB / 2.998 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/6.044, allocations: 42.05 kB / 2.998 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/6.044, allocations: 0 / 2.998 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/6.044, allocations: 334.9 kB / 2.998 GB, free: 146.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/6.044, allocations: 25.11 kB / 2.998 GB, free: 146.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.61e-05/6.044, allocations: 103.5 kB / 2.998 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/6.044, allocations: 33.03 kB / 2.998 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/6.044, allocations: 0 / 2.998 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/6.044, allocations: 126.6 kB / 2.999 GB, free: 146 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/6.044, allocations: 3.656 kB / 2.999 GB, free: 146 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/6.044, allocations: 0 / 2.999 GB, free: 146 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/6.044, allocations: 3.594 kB / 2.999 GB, free: 146 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/6.044, allocations: 32.59 kB / 2.999 GB, free: 146 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/6.044, allocations: 9.781 kB / 2.999 GB, free: 146 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/6.044, allocations: 22.14 kB / 2.999 GB, free: 146 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/6.045, allocations: 7.844 kB / 2.999 GB, free: 146 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 7.117e-05/6.045, allocations: 111.5 kB / 2.999 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/6.045, allocations: 33.89 kB / 2.999 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/6.045, allocations: 26.06 kB / 2.999 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/6.045, allocations: 3.688 kB / 2.999 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/6.045, allocations: 3.562 kB / 2.999 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/6.045, allocations: 3.812 kB / 2.999 GB, free: 145.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/6.046, allocations: 1.222 MB / 3 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/6.046, allocations: 0 / 3 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/6.046, allocations: 36.16 kB / 3 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/6.046, allocations: 4.984 kB / 3 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/6.046, allocations: 3.969 kB / 3 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/6.046, allocations: 12.5 kB / 3 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/6.046, allocations: 0 / 3 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002569/6.046, allocations: 381.9 kB / 3 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/6.047, allocations: 108.5 kB / 3.001 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/6.047, allocations: 6.578 kB / 3.001 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/6.047, allocations: 19.61 kB / 3.001 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/6.047, allocations: 17.3 kB / 3.001 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/6.047, allocations: 3.844 kB / 3.001 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001226/6.047, allocations: 180.8 kB / 3.001 GB, free: 144.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0007339/6.048, allocations: 215.4 kB / 3.001 GB, free: 144.4 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.002088/6.05, allocations: 1.64 MB / 3.003 GB, free: 144 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001642/6.05, allocations: 74.62 kB / 3.003 GB, free: 144 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/6.05, allocations: 3.406 kB / 3.003 GB, free: 144 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/6.05, allocations: 49.36 kB / 3.003 GB, free: 144 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/6.051, allocations: 96.33 kB / 3.003 GB, free: 144 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/6.052, allocations: 0.578 MB / 3.003 GB, free: 143.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/6.052, allocations: 0.9352 MB / 3.004 GB, free: 143 MB / 0.6982 GB Notification: Performance of SimCode: time 2.1e-07/6.052, allocations: 0 / 3.004 GB, free: 143 MB / 0.6982 GB Notification: Performance of Templates: time 0.01913/6.071, allocations: 11.88 MB / 3.016 GB, free: 142.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)