Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate") [: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.2855/0.2855, allocations: 54.4 MB / 61.68 MB, free: 11.15 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.001458/0.001458, allocations: 182.5 kB / 75.37 MB, free: 1.504 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.745/1.745, allocations: 194.2 MB / 283.2 MB, free: 3.559 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.001857/0.001857, allocations: 119.8 kB / 341.3 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.459e-05, allocations: 4 kB / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.161/5.304, allocations: 2.121 GB / 2.573 GB, free: 123.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/5.304, allocations: 87.94 kB / 2.573 GB, free: 123.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.9447/6.249, allocations: 297.5 MB / 2.864 GB, free: 8.273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.348e-05/6.249, allocations: 12 kB / 2.864 GB, free: 8.262 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002126/6.251, allocations: 0.8113 MB / 2.865 GB, free: 7.406 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/6.252, allocations: 11.97 kB / 2.865 GB, free: 7.395 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/6.253, allocations: 131.3 kB / 2.865 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/6.253, allocations: 386.6 kB / 2.865 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/6.253, allocations: 50.47 kB / 2.865 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/6.254, allocations: 24 kB / 2.865 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006633/6.254, allocations: 341.4 kB / 2.865 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/6.255, allocations: 370.1 kB / 2.866 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/6.255, allocations: 0 / 2.866 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/6.255, allocations: 4 kB / 2.866 GB, free: 6.062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/6.255, allocations: 11.91 kB / 2.866 GB, free: 6.051 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/6.257, allocations: 1.389 MB / 2.867 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/6.258, allocations: 222.7 kB / 2.867 GB, free: 4.332 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/6.258, allocations: 112.8 kB / 2.867 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007472/6.259, allocations: 323.2 kB / 2.868 GB, free: 3.848 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/6.259, allocations: 50.48 kB / 2.868 GB, free: 3.789 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.126e-06/6.259, allocations: 0 / 2.868 GB, free: 3.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=20): time 0.001055/6.26, allocations: 329 kB / 2.868 GB, free: 3.461 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/6.26, allocations: 51.75 kB / 2.868 GB, free: 3.398 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/6.26, allocations: 227.4 kB / 2.868 GB, free: 3.164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/6.26, allocations: 25.7 kB / 2.868 GB, free: 3.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/6.261, allocations: 219.4 kB / 2.869 GB, free: 2.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/6.261, allocations: 71 kB / 2.869 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/6.261, allocations: 4 kB / 2.869 GB, free: 2.836 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/6.261, allocations: 334.8 kB / 2.869 GB, free: 2.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/6.261, allocations: 100.5 kB / 2.869 GB, free: 2.398 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/6.261, allocations: 163.5 kB / 2.869 GB, free: 2.215 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/6.262, allocations: 208 kB / 2.869 GB, free: 2.012 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/6.262, allocations: 4 kB / 2.869 GB, free: 2.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009118/6.263, allocations: 400.9 kB / 2.87 GB, free: 1.609 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/6.263, allocations: 4.219 kB / 2.87 GB, free: 1.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/6.263, allocations: 4 kB / 2.87 GB, free: 1.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/6.263, allocations: 4 kB / 2.87 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/6.263, allocations: 63.91 kB / 2.87 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/6.263, allocations: 4 kB / 2.87 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/6.263, allocations: 43.66 kB / 2.87 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/6.264, allocations: 16 kB / 2.87 GB, free: 1.473 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001362/6.264, allocations: 104.9 kB / 2.87 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/6.264, allocations: 31.62 kB / 2.87 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009645/6.265, allocations: 406.7 kB / 2.871 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/6.265, allocations: 0 / 2.871 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/6.265, allocations: 0 / 2.871 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/6.265, allocations: 0 / 2.871 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3095/6.574, allocations: 1.332 MB / 2.872 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/6.574, allocations: 8.375 kB / 2.872 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/6.575, allocations: 50.66 kB / 2.872 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/6.575, allocations: 9.641 kB / 2.872 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/6.575, allocations: 3.75 kB / 2.872 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/6.575, allocations: 6.031 kB / 2.872 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/6.575, allocations: 3.406 kB / 2.872 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001098/6.576, allocations: 0.741 MB / 2.873 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/6.576, allocations: 157.5 kB / 2.873 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/6.576, allocations: 6.344 kB / 2.873 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/6.577, allocations: 32.36 kB / 2.873 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/6.577, allocations: 22.98 kB / 2.873 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/6.577, allocations: 18.81 kB / 2.873 GB, free: 133.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001435/6.577, allocations: 185.3 kB / 2.873 GB, free: 133.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009512/6.578, allocations: 245.2 kB / 2.873 GB, free: 133.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (senS_flow.s_out,senS.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.001903/6.58, allocations: 1.405 MB / 2.875 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004545/6.58, allocations: 256.2 kB / 2.875 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/6.58, allocations: 3.875 kB / 2.875 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/6.581, allocations: 119.9 kB / 2.875 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/6.581, allocations: 116.8 kB / 2.875 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/6.582, allocations: 0.6193 MB / 2.876 GB, free: 132.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/6.583, allocations: 0.8797 MB / 2.877 GB, free: 132 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/6.583, allocations: 0 / 2.877 GB, free: 132 MB / 490.7 MB Notification: Performance of Templates: time 0.02192/6.605, allocations: 13.88 MB / 2.89 GB, free: 131.8 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)