Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T",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.001406/0.001406, allocations: 193 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4625/0.4625, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.326/1.326, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.001059/0.00106, allocations: 97.06 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1811/0.1822, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.5258, allocations: 72.29 MB / 0.553 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.675/4.201, allocations: 1.827 GB / 2.38 GB, free: 238.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/4.201, allocations: 83.78 kB / 2.38 GB, free: 238.5 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 1.707/5.909, allocations: 0.6097 GB / 2.989 GB, free: 85.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/5.909, allocations: 11.94 kB / 2.989 GB, free: 85.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/5.91, allocations: 290.4 kB / 2.99 GB, free: 84.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/5.911, allocations: 0.5749 MB / 2.99 GB, free: 84.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/5.911, allocations: 27.53 kB / 2.99 GB, free: 84.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.542e-05/5.912, allocations: 44 kB / 2.99 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008083/5.912, allocations: 0.5194 MB / 2.991 GB, free: 83.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/5.913, allocations: 0.7873 MB / 2.992 GB, free: 82.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/5.913, allocations: 0 / 2.992 GB, free: 82.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/5.913, allocations: 4 kB / 2.992 GB, free: 82.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/5.913, allocations: 40.23 kB / 2.992 GB, free: 82.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/5.917, allocations: 3.693 MB / 2.995 GB, free: 78.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/5.917, allocations: 179.7 kB / 2.995 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/5.917, allocations: 123.6 kB / 2.995 GB, free: 78.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/5.918, allocations: 0.6321 MB / 2.996 GB, free: 77.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/5.918, allocations: 34.56 kB / 2.996 GB, free: 77.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/5.918, allocations: 5.797 kB / 2.996 GB, free: 77.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001518/5.919, allocations: 415.5 kB / 2.997 GB, free: 77.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/5.919, allocations: 106.8 kB / 2.997 GB, free: 77.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/5.92, allocations: 341.2 kB / 2.997 GB, free: 76.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/5.92, allocations: 29.7 kB / 2.997 GB, free: 76.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/5.92, allocations: 361.7 kB / 2.997 GB, free: 76.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/5.92, allocations: 63.05 kB / 2.997 GB, free: 76.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/5.92, allocations: 0 / 2.997 GB, free: 76.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/5.92, allocations: 362.7 kB / 2.998 GB, free: 76.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/5.92, allocations: 86.83 kB / 2.998 GB, free: 75.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/5.92, allocations: 213.7 kB / 2.998 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/5.92, allocations: 153.3 kB / 2.998 GB, free: 75.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/5.92, allocations: 0 / 2.998 GB, free: 75.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005315/5.921, allocations: 351.5 kB / 2.998 GB, free: 75.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/5.921, allocations: 8 kB / 2.998 GB, free: 75.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/5.921, allocations: 3.906 kB / 2.998 GB, free: 75.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/5.921, allocations: 4 kB / 2.998 GB, free: 75.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/5.921, allocations: 67.91 kB / 2.999 GB, free: 75.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/5.921, allocations: 11.5 kB / 2.999 GB, free: 75.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/5.922, allocations: 47.16 kB / 2.999 GB, free: 75.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/5.922, allocations: 19.98 kB / 2.999 GB, free: 75.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.152e-05/5.922, allocations: 112.9 kB / 2.999 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/5.922, allocations: 47.44 kB / 2.999 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/5.923, allocations: 265.2 kB / 2.999 GB, free: 74.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/5.923, allocations: 3.938 kB / 2.999 GB, free: 74.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/5.923, allocations: 4 kB / 2.999 GB, free: 74.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/5.923, allocations: 6.766 kB / 2.999 GB, free: 74.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/5.924, allocations: 1.197 MB / 3 GB, free: 73.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/5.924, allocations: 7.516 kB / 3 GB, free: 73.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/5.924, allocations: 42.17 kB / 3 GB, free: 73.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/5.924, allocations: 8 kB / 3 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/5.924, allocations: 4 kB / 3 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/5.924, allocations: 4 kB / 3 GB, free: 73.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/5.924, allocations: 11.92 kB / 3 GB, free: 73.28 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005162/5.925, allocations: 0.625 MB / 3.001 GB, free: 72.52 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009184/5.926, allocations: 1.111 MB / 3.002 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/5.926, allocations: 140.5 kB / 3.002 GB, free: 71.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/5.926, allocations: 7.984 kB / 3.002 GB, free: 71.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/5.926, allocations: 31.12 kB / 3.002 GB, free: 71.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/5.927, allocations: 26.89 kB / 3.002 GB, free: 71.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/5.927, allocations: 8 kB / 3.002 GB, free: 71.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002062/5.927, allocations: 267.2 kB / 3.002 GB, free: 70.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001774/5.929, allocations: 0.5734 MB / 3.003 GB, free: 70.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002352/5.931, allocations: 2.233 MB / 3.005 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003472/5.931, allocations: 206.5 kB / 3.005 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/5.931, allocations: 0 / 3.005 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/5.931, allocations: 107.4 kB / 3.005 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/5.932, allocations: 169.8 kB / 3.006 GB, free: 67.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/5.934, allocations: 0.8398 MB / 3.006 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/5.934, allocations: 1.057 MB / 3.008 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/5.934, allocations: 0 / 3.008 GB, free: 65.95 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)