Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") translateModel(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") [: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.2955/0.2955, allocations: 54.39 MB / 61.67 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.001339/0.001339, allocations: 183.5 kB / 75.37 MB, free: 1.473 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.849/1.849, allocations: 194.2 MB / 283.2 MB, free: 3.523 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.001853/0.001853, allocations: 115.8 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.445e-06/8.476e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1502, allocations: 57.64 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.739/4.889, allocations: 2.119 GB / 2.571 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/4.889, allocations: 79.95 kB / 2.571 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7471/5.636, allocations: 238.4 MB / 2.804 GB, free: 36.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.56e-05/5.637, allocations: 12 kB / 2.804 GB, free: 36.42 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001386/5.638, allocations: 0.7289 MB / 2.805 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/5.638, allocations: 11.97 kB / 2.805 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/5.639, allocations: 163.2 kB / 2.805 GB, free: 35.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/5.64, allocations: 382.3 kB / 2.805 GB, free: 35.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/5.64, allocations: 12 kB / 2.805 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/5.64, allocations: 23.94 kB / 2.805 GB, free: 35.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005286/5.64, allocations: 321.5 kB / 2.805 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/5.641, allocations: 386.2 kB / 2.806 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/5.641, allocations: 0 / 2.806 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/5.641, allocations: 4 kB / 2.806 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/5.641, allocations: 8 kB / 2.806 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/5.643, allocations: 1.487 MB / 2.807 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/5.644, allocations: 180.5 kB / 2.807 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/5.644, allocations: 104.1 kB / 2.808 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/5.644, allocations: 287.2 kB / 2.808 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/5.644, allocations: 38.56 kB / 2.808 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 2.334e-06/5.644, allocations: 0 / 2.808 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20): time 0.000829/5.645, allocations: 249.1 kB / 2.808 GB, free: 31.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/5.645, allocations: 55.75 kB / 2.808 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/5.646, allocations: 243.5 kB / 2.808 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/5.646, allocations: 25.7 kB / 2.808 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/5.646, allocations: 211.6 kB / 2.809 GB, free: 31.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/5.646, allocations: 63.02 kB / 2.809 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/5.646, allocations: 0 / 2.809 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/5.646, allocations: 342.7 kB / 2.809 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/5.646, allocations: 64.55 kB / 2.809 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/5.646, allocations: 146.2 kB / 2.809 GB, free: 30.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/5.646, allocations: 131.8 kB / 2.809 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/5.646, allocations: 0 / 2.809 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004843/5.647, allocations: 295.5 kB / 2.81 GB, free: 30.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/5.647, allocations: 4 kB / 2.81 GB, free: 30.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/5.647, allocations: 7.906 kB / 2.81 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/5.647, allocations: 4 kB / 2.81 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/5.647, allocations: 68.16 kB / 2.81 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/5.647, allocations: 4 kB / 2.81 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/5.648, allocations: 39.66 kB / 2.81 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/5.648, allocations: 19.98 kB / 2.81 GB, free: 30.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.000118/5.648, allocations: 108.9 kB / 2.81 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/5.648, allocations: 31.62 kB / 2.81 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/5.648, allocations: 243.6 kB / 2.81 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/5.648, allocations: 4 kB / 2.81 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/5.648, allocations: 0 / 2.81 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/5.648, allocations: 3.984 kB / 2.81 GB, free: 29.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/5.65, allocations: 0.7605 MB / 2.811 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/5.65, allocations: 320 / 2.811 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/5.65, allocations: 51.91 kB / 2.811 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/5.65, allocations: 4 kB / 2.811 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/5.65, allocations: 4 kB / 2.811 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/5.65, allocations: 4 kB / 2.811 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/5.65, allocations: 3.938 kB / 2.811 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006304/5.65, allocations: 0.5916 MB / 2.811 GB, free: 28.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/5.651, allocations: 140.6 kB / 2.812 GB, free: 27.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/5.651, allocations: 7.984 kB / 2.812 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/5.651, allocations: 19.98 kB / 2.812 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/5.651, allocations: 19.95 kB / 2.812 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/5.651, allocations: 19.98 kB / 2.812 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001543/5.651, allocations: 187.1 kB / 2.812 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000777/5.652, allocations: 195.6 kB / 2.812 GB, free: 27.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001627/5.654, allocations: 1.191 MB / 2.813 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003105/5.654, allocations: 177.4 kB / 2.813 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/5.654, allocations: 0 / 2.813 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/5.654, allocations: 84.86 kB / 2.813 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/5.655, allocations: 136.6 kB / 2.814 GB, free: 25.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/5.656, allocations: 0.5186 MB / 2.814 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/5.657, allocations: 0.8648 MB / 2.815 GB, free: 24.39 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/5.657, allocations: 4.188 kB / 2.815 GB, free: 24.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.01827/5.675, allocations: 11.72 MB / 2.826 GB, free: 12.68 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe 2>&1)