Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Annex60.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy") [: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/Annex60 1.0.0/package.mo): time 0.2809/0.2809, allocations: 54.4 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001288/0.001288, allocations: 188.9 kB / 75.37 MB, free: 1.508 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.638/1.638, allocations: 194.2 MB / 283.2 MB, free: 3.496 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001779/0.001779, allocations: 115.5 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.046e-05, allocations: 4 kB / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1479, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.988/5.136, allocations: 2.119 GB / 2.57 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/5.137, allocations: 83.95 kB / 2.57 GB, free: 84.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7446/5.881, allocations: 204.8 MB / 2.77 GB, free: 81.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.701e-05/5.881, allocations: 12 kB / 2.77 GB, free: 81.52 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001773/5.883, allocations: 0.6545 MB / 2.771 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001141/5.883, allocations: 11.97 kB / 2.771 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004496/5.884, allocations: 47.52 kB / 2.771 GB, free: 80.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007466/5.884, allocations: 331.6 kB / 2.771 GB, free: 80.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/5.885, allocations: 8 kB / 2.771 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/5.885, allocations: 16 kB / 2.771 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000557/5.885, allocations: 229.2 kB / 2.772 GB, free: 80.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/5.886, allocations: 324.6 kB / 2.772 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/5.886, allocations: 0 / 2.772 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/5.886, allocations: 3.906 kB / 2.772 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/5.886, allocations: 8 kB / 2.772 GB, free: 79.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/5.888, allocations: 1.307 MB / 2.773 GB, free: 78.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/5.888, allocations: 54.62 kB / 2.773 GB, free: 78.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/5.888, allocations: 28.86 kB / 2.773 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/5.889, allocations: 114.3 kB / 2.773 GB, free: 78.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/5.889, allocations: 38.56 kB / 2.774 GB, free: 78.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/5.889, allocations: 0 / 2.774 GB, free: 78.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004663/5.889, allocations: 122 kB / 2.774 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/5.889, allocations: 51.41 kB / 2.774 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/5.89, allocations: 241 kB / 2.774 GB, free: 77.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/5.89, allocations: 29.7 kB / 2.774 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/5.89, allocations: 211.2 kB / 2.774 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/5.89, allocations: 27.66 kB / 2.774 GB, free: 77.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/5.89, allocations: 4 kB / 2.774 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001116/5.89, allocations: 338.7 kB / 2.775 GB, free: 77.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/5.89, allocations: 47.98 kB / 2.775 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/5.89, allocations: 144.9 kB / 2.775 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/5.89, allocations: 104.2 kB / 2.775 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/5.89, allocations: 0 / 2.775 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004468/5.891, allocations: 245.1 kB / 2.775 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/5.891, allocations: 6.188 kB / 2.775 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/5.891, allocations: 4.375 kB / 2.775 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/5.891, allocations: 11.94 kB / 2.775 GB, free: 76.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/5.891, allocations: 59.81 kB / 2.775 GB, free: 76.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/5.891, allocations: 7.938 kB / 2.775 GB, free: 76.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/5.892, allocations: 35.77 kB / 2.775 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/5.892, allocations: 16 kB / 2.775 GB, free: 76.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001179/5.892, allocations: 112.8 kB / 2.775 GB, free: 76.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/5.892, allocations: 23.72 kB / 2.775 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/5.892, allocations: 116.7 kB / 2.775 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/5.892, allocations: 0 / 2.775 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/5.892, allocations: 0 / 2.775 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/5.892, allocations: 7.984 kB / 2.775 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/5.893, allocations: 482.4 kB / 2.776 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/5.893, allocations: 0 / 2.776 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/5.893, allocations: 19.98 kB / 2.776 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/5.893, allocations: 0 / 2.776 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/5.893, allocations: 15.86 kB / 2.776 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/5.893, allocations: 4.062 kB / 2.776 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/5.893, allocations: 128 / 2.776 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004753/5.894, allocations: 278.2 kB / 2.776 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/5.894, allocations: 120.8 kB / 2.776 GB, free: 75.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/5.894, allocations: 4.062 kB / 2.776 GB, free: 75.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/5.894, allocations: 23.97 kB / 2.776 GB, free: 75.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/5.895, allocations: 4 kB / 2.776 GB, free: 75.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/5.895, allocations: 11.98 kB / 2.776 GB, free: 75.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000199/5.895, allocations: 185.2 kB / 2.777 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00102/5.896, allocations: 176.3 kB / 2.777 GB, free: 74.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.002374/5.898, allocations: 1.126 MB / 2.778 GB, free: 73.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002764/5.899, allocations: 119.8 kB / 2.778 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/5.899, allocations: 0.75 kB / 2.778 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/5.899, allocations: 31.94 kB / 2.778 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/5.899, allocations: 64.34 kB / 2.778 GB, free: 73.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/5.9, allocations: 390.6 kB / 2.778 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/5.901, allocations: 0.8293 MB / 2.779 GB, free: 72.15 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/5.901, allocations: 0 / 2.779 GB, free: 72.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.01694/5.917, allocations: 9.657 MB / 2.789 GB, free: 62.5 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)