Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [: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 3.2.1+maint.om/package.mo): time 0.00487/0.00487, allocations: 174.8 kB / 7.45 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.377/1.377, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001744/0.001744, allocations: 112.8 kB / 217.7 MB, free: 8.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1736/0.1736, allocations: 37.98 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.158e-06, allocations: 1.5 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1356, allocations: 48.72 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.97/6.106, allocations: 2.476 GB / 2.865 GB, free: 21.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/6.106, allocations: 83.61 kB / 2.865 GB, free: 21.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.24/7.346, allocations: 280.3 MB / 3.138 GB, free: 54.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.932e-05/7.346, allocations: 11.56 kB / 3.138 GB, free: 54.49 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005831/7.352, allocations: 1.187 MB / 3.14 GB, free: 53.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/7.352, allocations: 11.88 kB / 3.14 GB, free: 53.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/7.353, allocations: 126.2 kB / 3.14 GB, free: 53.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/7.354, allocations: 344.6 kB / 3.14 GB, free: 53.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/7.354, allocations: 19.83 kB / 3.14 GB, free: 53.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/7.354, allocations: 15.53 kB / 3.14 GB, free: 53.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004531/7.355, allocations: 203 kB / 3.14 GB, free: 53.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/7.355, allocations: 308 kB / 3.141 GB, free: 53.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/7.355, allocations: 3.406 kB / 3.141 GB, free: 53.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/7.355, allocations: 3.625 kB / 3.141 GB, free: 53.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/7.355, allocations: 7.875 kB / 3.141 GB, free: 53.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/7.358, allocations: 2.204 MB / 3.143 GB, free: 51.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/7.358, allocations: 102.4 kB / 3.143 GB, free: 51.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/7.358, allocations: 47.33 kB / 3.143 GB, free: 51.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/7.359, allocations: 484.2 kB / 3.143 GB, free: 50.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/7.359, allocations: 30.56 kB / 3.143 GB, free: 50.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/7.359, allocations: 0 / 3.143 GB, free: 50.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008216/7.36, allocations: 221 kB / 3.144 GB, free: 50.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/7.36, allocations: 109.8 kB / 3.144 GB, free: 50.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/7.36, allocations: 230.5 kB / 3.144 GB, free: 50.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/7.36, allocations: 29.64 kB / 3.144 GB, free: 50.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/7.36, allocations: 194.8 kB / 3.144 GB, free: 50.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/7.36, allocations: 45.78 kB / 3.144 GB, free: 50.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/7.36, allocations: 0 / 3.144 GB, free: 50.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/7.36, allocations: 341.6 kB / 3.144 GB, free: 49.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/7.36, allocations: 43.5 kB / 3.145 GB, free: 49.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/7.361, allocations: 191.7 kB / 3.145 GB, free: 49.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/7.361, allocations: 82.3 kB / 3.145 GB, free: 49.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/7.361, allocations: 2.531 kB / 3.145 GB, free: 49.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007766/7.362, allocations: 330.5 kB / 3.145 GB, free: 49.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/7.362, allocations: 8.25 kB / 3.145 GB, free: 49.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/7.362, allocations: 3.406 kB / 3.145 GB, free: 49.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/7.362, allocations: 15.59 kB / 3.145 GB, free: 49.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/7.362, allocations: 69.78 kB / 3.145 GB, free: 49.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/7.362, allocations: 14.55 kB / 3.145 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/7.362, allocations: 41.17 kB / 3.145 GB, free: 49.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/7.362, allocations: 18.16 kB / 3.145 GB, free: 49.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 0.0001148/7.363, allocations: 120.1 kB / 3.145 GB, free: 49.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/7.363, allocations: 99.7 kB / 3.145 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009017/7.364, allocations: 0.631 MB / 3.146 GB, free: 48.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/7.364, allocations: 11.66 kB / 3.146 GB, free: 48.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/7.364, allocations: 0 / 3.146 GB, free: 48.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/7.364, allocations: 0 / 3.146 GB, free: 48.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/7.364, allocations: 385.9 kB / 3.146 GB, free: 48.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/7.364, allocations: 0 / 3.146 GB, free: 48.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/7.364, allocations: 42.64 kB / 3.146 GB, free: 48.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/7.364, allocations: 0 / 3.146 GB, free: 48.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/7.364, allocations: 11.72 kB / 3.147 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/7.365, allocations: 0 / 3.147 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/7.365, allocations: 3.938 kB / 3.147 GB, free: 48.62 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008276/7.365, allocations: 0.6151 MB / 3.147 GB, free: 48.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/7.366, allocations: 126.3 kB / 3.147 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/7.366, allocations: 0 / 3.147 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/7.366, allocations: 24.44 kB / 3.147 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/7.366, allocations: 15.36 kB / 3.147 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/7.366, allocations: 11.06 kB / 3.147 GB, free: 48.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001673/7.366, allocations: 173.6 kB / 3.147 GB, free: 48.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005915/7.372, allocations: 0.8456 MB / 3.148 GB, free: 47.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01153/7.384, allocations: 1.428 MB / 3.15 GB, free: 47.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000743/7.384, allocations: 309.5 kB / 3.15 GB, free: 47.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/7.384, allocations: 1.469 kB / 3.15 GB, free: 47.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/7.385, allocations: 259.1 kB / 3.15 GB, free: 47.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009657/7.386, allocations: 119.7 kB / 3.15 GB, free: 47.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/7.387, allocations: 0.5259 MB / 3.151 GB, free: 47.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/7.388, allocations: 0.8525 MB / 3.152 GB, free: 46.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/7.388, allocations: 0 / 3.152 GB, free: 46.32 MB / 426.7 MB Notification: Performance of Templates: time 0.05595/7.444, allocations: 26.37 MB / 3.177 GB, free: 31.25 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1)