Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) 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) 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) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine") translateModel(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine") [: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/Buildings 1.6.0+build.1/package.mo): time 0.5223/0.5223, allocations: 94.74 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001235/0.001236, allocations: 183.5 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.5 MB / 319 MB, free: 9.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001846/0.001846, allocations: 113.4 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.834e-06/7.854e-06, allocations: 0 / 448.6 MB, free: 2.094 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1684, allocations: 61.5 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8996/1.068, allocations: 374.4 MB / 0.8638 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/1.068, allocations: 79.77 kB / 0.8638 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.5894/1.658, allocations: 143.2 MB / 1.004 GB, free: 69.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.114e-05/1.658, allocations: 11.83 kB / 1.004 GB, free: 69.75 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001717/1.66, allocations: 0.7758 MB / 1.004 GB, free: 68.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.66, allocations: 12.78 kB / 1.004 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/1.66, allocations: 71.27 kB / 1.005 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000873/1.661, allocations: 445.2 kB / 1.005 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/1.661, allocations: 12 kB / 1.005 GB, free: 68.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/1.661, allocations: 28 kB / 1.005 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005111/1.662, allocations: 285.5 kB / 1.005 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/1.662, allocations: 379.9 kB / 1.006 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.662, allocations: 0 / 1.006 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/1.662, allocations: 0 / 1.006 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.662, allocations: 8 kB / 1.006 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/1.665, allocations: 1.541 MB / 1.007 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/1.665, allocations: 304.1 kB / 1.007 GB, free: 65.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/1.666, allocations: 128.8 kB / 1.008 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/1.666, allocations: 0.6922 MB / 1.008 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/1.667, allocations: 238.4 kB / 1.008 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/1.667, allocations: 0 / 1.008 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.001029/1.668, allocations: 401.4 kB / 1.009 GB, free: 64.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/1.668, allocations: 213.6 kB / 1.009 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/1.668, allocations: 317.1 kB / 1.009 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/1.668, allocations: 25.7 kB / 1.009 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/1.668, allocations: 223.9 kB / 1.01 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/1.668, allocations: 102.5 kB / 1.01 GB, free: 63.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/1.668, allocations: 0 / 1.01 GB, free: 63.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/1.668, allocations: 350.8 kB / 1.01 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/1.669, allocations: 140.8 kB / 1.01 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/1.669, allocations: 304.6 kB / 1.01 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007652/1.67, allocations: 267.7 kB / 1.011 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.67, allocations: 3.938 kB / 1.011 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001182/1.671, allocations: 0.5519 MB / 1.011 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.671, allocations: 9.094 kB / 1.011 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.671, allocations: 4 kB / 1.011 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.671, allocations: 4 kB / 1.011 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009398/1.672, allocations: 127.8 kB / 1.011 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000457/1.672, allocations: 0.6446 MB / 1.012 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/1.673, allocations: 51.67 kB / 1.012 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/1.673, allocations: 27.98 kB / 1.012 GB, free: 60.66 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: printer.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.printer.firstTrigger,printer.firstTrigger,$whenCondition1,printer.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002379/1.673, allocations: 124.5 kB / 1.012 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/1.674, allocations: 47.44 kB / 1.012 GB, free: 60.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/1.675, allocations: 0.6125 MB / 1.013 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.675, allocations: 4 kB / 1.013 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.675, allocations: 0 / 1.013 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.675, allocations: 7.891 kB / 1.013 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/1.677, allocations: 1.05 MB / 1.014 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.677, allocations: 7.984 kB / 1.014 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/1.677, allocations: 83.89 kB / 1.014 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.677, allocations: 0 / 1.014 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.677, allocations: 4 kB / 1.014 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002778/1.678, allocations: 0.6445 MB / 1.015 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.678, allocations: 0 / 1.015 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001028/1.679, allocations: 0.7536 MB / 1.015 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/1.679, allocations: 124.6 kB / 1.015 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/1.679, allocations: 0 / 1.015 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/1.679, allocations: 31.81 kB / 1.016 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/1.679, allocations: 24.25 kB / 1.016 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/1.679, allocations: 24 kB / 1.016 GB, free: 57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002335/1.68, allocations: 247.2 kB / 1.016 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007497/1.68, allocations: 219.5 kB / 1.016 GB, free: 56.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (TIn.T,TOut.T) * Number of discrete variables: 3 (printer.sampleTrigger,$whenCondition1,printer.firstTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007691/1.681, allocations: 428.5 kB / 1.016 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006394/1.682, allocations: 380.5 kB / 1.017 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.682, allocations: 0 / 1.017 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/1.682, allocations: 183.9 kB / 1.017 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/1.683, allocations: 163.4 kB / 1.017 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.684, allocations: 0.7 MB / 1.018 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/1.685, allocations: 0.9361 MB / 1.019 GB, free: 53.78 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/1.685, allocations: 0 / 1.019 GB, free: 53.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.01529/1.7, allocations: 10.12 MB / 1.029 GB, free: 43.8 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe 2>&1)