Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.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.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") [: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.2747/0.2747, allocations: 54.39 MB / 61.67 MB, free: 11.18 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.001274/0.001275, allocations: 192.8 kB / 75.37 MB, free: 1.523 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.632/1.632, 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.001824/0.001824, allocations: 112 kB / 341.3 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.313e-06/7.333e-06, allocations: 0 / 404.9 MB, free: 27.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1481, allocations: 57.64 MB / 462.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.173, allocations: 319.5 MB / 0.7638 GB, free: 71.33 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/1.173, allocations: 81.2 kB / 0.7638 GB, free: 71.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.7623/1.936, allocations: 191.7 MB / 0.9511 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.712e-05/1.936, allocations: 23.78 kB / 0.9511 GB, free: 101.6 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002359/1.938, allocations: 1.099 MB / 0.9522 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.938, allocations: 15.97 kB / 0.9522 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/1.942, allocations: 0.5756 MB / 0.9528 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/1.944, allocations: 0.6949 MB / 0.9534 GB, free: 99.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/1.944, allocations: 20 kB / 0.9535 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/1.944, allocations: 36 kB / 0.9535 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/1.945, allocations: 0.561 MB / 0.954 GB, free: 98.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/1.946, allocations: 0.8369 MB / 0.9549 GB, free: 97.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/1.946, allocations: 3.938 kB / 0.9549 GB, free: 97.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/1.946, allocations: 12 kB / 0.9549 GB, free: 97.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/1.946, allocations: 23.98 kB / 0.9549 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/1.951, allocations: 4.834 MB / 0.9596 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/1.952, allocations: 414.7 kB / 0.96 GB, free: 92.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/1.952, allocations: 261.4 kB / 0.9603 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/1.953, allocations: 0.8272 MB / 0.9611 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005065/1.953, allocations: 486.6 kB / 0.9615 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 2.786e-06/1.953, allocations: 0 / 0.9615 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.003393/1.956, allocations: 0.9833 MB / 0.9625 GB, free: 89.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/1.957, allocations: 350.4 kB / 0.9628 GB, free: 88.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/1.957, allocations: 0.5073 MB / 0.9633 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/1.957, allocations: 29.7 kB / 0.9633 GB, free: 88.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/1.957, allocations: 346.9 kB / 0.9637 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/1.958, allocations: 134.1 kB / 0.9638 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/1.958, allocations: 4 kB / 0.9638 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.958, allocations: 382.8 kB / 0.9642 GB, free: 87.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/1.958, allocations: 253.4 kB / 0.9644 GB, free: 87.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/1.959, allocations: 0.5249 MB / 0.9649 GB, free: 86.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/1.961, allocations: 0.688 MB / 0.9656 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.961, allocations: 4 kB / 0.9656 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003387/1.965, allocations: 1.194 MB / 0.9668 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.965, allocations: 8 kB / 0.9668 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.965, allocations: 12.12 kB / 0.9668 GB, free: 84.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/1.965, allocations: 8 kB / 0.9668 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.966, allocations: 227.5 kB / 0.967 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/1.966, allocations: 19.92 kB / 0.967 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.967, allocations: 191.1 kB / 0.9672 GB, free: 84.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.967, allocations: 47.92 kB / 0.9673 GB, free: 84.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * 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.0002553/1.967, allocations: 231.5 kB / 0.9675 GB, free: 83.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.967, allocations: 75.16 kB / 0.9676 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/1.97, allocations: 1.451 MB / 0.969 GB, free: 82.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.97, allocations: 7.984 kB / 0.969 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.97, allocations: 0 / 0.969 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.97, allocations: 7.938 kB / 0.969 GB, free: 82.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/1.971, allocations: 0.683 MB / 0.9697 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.971, allocations: 0 / 0.9697 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000796/1.972, allocations: 151.8 kB / 0.9698 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.972, allocations: 4 kB / 0.9698 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/1.972, allocations: 23.98 kB / 0.9698 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.972, allocations: 0 / 0.9698 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.972, allocations: 3.906 kB / 0.9698 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001475/1.974, allocations: 0.8232 MB / 0.9706 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/1.974, allocations: 187.8 kB / 0.9708 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/1.974, allocations: 12 kB / 0.9708 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009356/1.975, allocations: 131.4 kB / 0.9709 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/1.975, allocations: 35.91 kB / 0.971 GB, free: 80.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/1.975, allocations: 35.97 kB / 0.971 GB, free: 80.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004775/1.976, allocations: 479.1 kB / 0.9715 GB, free: 79.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001197/1.977, allocations: 363.3 kB / 0.9718 GB, free: 79.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * 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.001083/1.978, allocations: 495.4 kB / 0.9723 GB, free: 78.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.979, allocations: 0.718 MB / 0.973 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.979, allocations: 4 kB / 0.973 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004639/1.979, allocations: 477.4 kB / 0.9735 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000941/1.98, allocations: 192.2 kB / 0.9736 GB, free: 77.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/1.983, allocations: 1.103 MB / 0.9747 GB, free: 76.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/1.983, allocations: 1.118 MB / 0.9758 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/1.983, allocations: 0 / 0.9758 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.02317/2.007, allocations: 15.16 MB / 0.9906 GB, free: 60.13 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe 2>&1)