Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003604/0.003604, allocations: 179.6 kB / 7.455 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6702/0.6702, allocations: 130.6 MB / 138.5 MB, free: 2.184 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.4 MB / 391.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 88.95 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.222e-05/1.239e-05, allocations: 2.031 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.864/5.07, allocations: 1.832 GB / 2.46 GB, free: 27.47 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.07, allocations: 79.95 kB / 2.46 GB, free: 27.39 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.743/6.813, allocations: 414.7 MB / 2.865 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.128e-05/6.814, allocations: 23.05 kB / 2.865 GB, free: 134.3 MB / 0.6667 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.002614/6.816, allocations: 0.854 MB / 2.866 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/6.816, allocations: 8.031 kB / 2.866 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/6.817, allocations: 71.16 kB / 2.866 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/6.818, allocations: 420.2 kB / 2.866 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/6.818, allocations: 16 kB / 2.866 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.755e-05/6.818, allocations: 32 kB / 2.866 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006364/6.818, allocations: 290.5 kB / 2.866 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/6.819, allocations: 0.6092 MB / 2.867 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/6.819, allocations: 0 / 2.867 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/6.819, allocations: 4 kB / 2.867 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/6.819, allocations: 31.92 kB / 2.867 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/6.822, allocations: 2.988 MB / 2.87 GB, free: 128.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/6.822, allocations: 204.9 kB / 2.87 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/6.822, allocations: 111.9 kB / 2.87 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/6.823, allocations: 4 kB / 2.87 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/6.823, allocations: 49.11 kB / 2.87 GB, free: 128.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 5.279e-06/6.823, allocations: 0 / 2.87 GB, free: 128.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0005026/6.823, allocations: 139.6 kB / 2.87 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/6.823, allocations: 282.7 kB / 2.871 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/6.823, allocations: 230.5 kB / 2.871 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/6.823, allocations: 28.77 kB / 2.871 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/6.824, allocations: 255.6 kB / 2.871 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/6.824, allocations: 35.45 kB / 2.871 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/6.824, allocations: 0 / 2.871 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/6.824, allocations: 338.8 kB / 2.871 GB, free: 127 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/6.824, allocations: 23.33 kB / 2.871 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/6.824, allocations: 100.6 kB / 2.872 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/6.824, allocations: 34.7 kB / 2.872 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/6.824, allocations: 288 / 2.872 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/6.824, allocations: 133.1 kB / 2.872 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/6.824, allocations: 6.656 kB / 2.872 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/6.824, allocations: 3.938 kB / 2.872 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/6.824, allocations: 4 kB / 2.872 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/6.824, allocations: 31.91 kB / 2.872 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/6.824, allocations: 0 / 2.872 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/6.825, allocations: 23.83 kB / 2.872 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/6.825, allocations: 11.98 kB / 2.872 GB, free: 126.6 MB / 0.6667 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 9.16e-05/6.825, allocations: 112.8 kB / 2.872 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/6.825, allocations: 31.34 kB / 2.872 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/6.825, allocations: 28.98 kB / 2.872 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/6.825, allocations: 4 kB / 2.872 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/6.825, allocations: 4 kB / 2.872 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/6.825, allocations: 3.906 kB / 2.872 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/6.826, allocations: 1.223 MB / 2.873 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/6.826, allocations: 0 / 2.873 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/6.826, allocations: 27.73 kB / 2.873 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/6.827, allocations: 4 kB / 2.873 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/6.827, allocations: 4 kB / 2.873 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/6.827, allocations: 14.3 kB / 2.873 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/6.827, allocations: 7.938 kB / 2.873 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002956/6.827, allocations: 379.3 kB / 2.874 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/6.827, allocations: 104.8 kB / 2.874 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/6.827, allocations: 4 kB / 2.874 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/6.827, allocations: 22.86 kB / 2.874 GB, free: 124.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/6.827, allocations: 19.89 kB / 2.874 GB, free: 124.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/6.827, allocations: 7.438 kB / 2.874 GB, free: 124.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001374/6.827, allocations: 175.1 kB / 2.874 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009213/6.828, allocations: 227.2 kB / 2.874 GB, free: 124 MB / 0.6667 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.002691/6.831, allocations: 1.637 MB / 2.876 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002062/6.831, allocations: 71.91 kB / 2.876 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/6.831, allocations: 4 kB / 2.876 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/6.831, allocations: 43.86 kB / 2.876 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/6.832, allocations: 94.77 kB / 2.876 GB, free: 122.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/6.833, allocations: 0.5853 MB / 2.877 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/6.834, allocations: 0.9414 MB / 2.877 GB, free: 120.8 MB / 0.6667 GB Notification: Performance of SimCode: time 9.62e-07/6.834, allocations: 0 / 2.877 GB, free: 120.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.02098/6.855, allocations: 11.85 MB / 2.889 GB, free: 109.1 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)