Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox") [: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.289/0.289, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001394/0.001394, allocations: 194.7 kB / 75.38 MB, free: 1.527 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.467/1.467, allocations: 194.2 MB / 283.2 MB, free: 3.512 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.001769/0.001769, allocations: 109.1 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.133e-06, allocations: 0 / 405 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 57.64 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/4.993, allocations: 2.139 GB / 2.591 GB, free: 62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/4.993, allocations: 91.94 kB / 2.591 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.097/7.09, allocations: 0.5866 GB / 3.178 GB, free: 44.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001953/7.09, allocations: 29.72 kB / 3.178 GB, free: 44.14 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005082/7.095, allocations: 1.44 MB / 3.179 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/7.096, allocations: 11.97 kB / 3.179 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003931/7.099, allocations: 394.1 kB / 3.179 GB, free: 42.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/7.103, allocations: 0.9969 MB / 3.18 GB, free: 41.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.657e-05/7.104, allocations: 20 kB / 3.18 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000404/7.104, allocations: 40 kB / 3.18 GB, free: 41.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002032/7.106, allocations: 0.6873 MB / 3.181 GB, free: 40.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/7.108, allocations: 0.7728 MB / 3.182 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/7.108, allocations: 0 / 3.182 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/7.108, allocations: 0 / 3.182 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/7.108, allocations: 19.94 kB / 3.182 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/7.114, allocations: 3.041 MB / 3.185 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007102/7.114, allocations: 0.5254 MB / 3.185 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/7.115, allocations: 312.3 kB / 3.186 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/7.115, allocations: 8.188 kB / 3.186 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/7.115, allocations: 39 kB / 3.186 GB, free: 35.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/7.115, allocations: 0 / 3.186 GB, free: 35.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.002407/7.117, allocations: 0.8648 MB / 3.187 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/7.117, allocations: 136.9 kB / 3.187 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/7.119, allocations: 0.8436 MB / 3.188 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.084e-05/7.119, allocations: 25.7 kB / 3.188 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/7.119, allocations: 343.7 kB / 3.188 GB, free: 33.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/7.119, allocations: 157.6 kB / 3.188 GB, free: 33.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/7.119, allocations: 0 / 3.188 GB, free: 33.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001246/7.119, allocations: 330 kB / 3.188 GB, free: 32.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/7.12, allocations: 313.2 kB / 3.189 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/7.12, allocations: 439.9 kB / 3.189 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/7.121, allocations: 351 kB / 3.189 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/7.121, allocations: 4 kB / 3.189 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001375/7.122, allocations: 0.8656 MB / 3.19 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/7.122, allocations: 0.53 MB / 3.191 GB, free: 30.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/7.123, allocations: 11.98 kB / 3.191 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/7.123, allocations: 4 kB / 3.191 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/7.124, allocations: 211.7 kB / 3.191 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/7.124, allocations: 7.984 kB / 3.191 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/7.125, allocations: 147.3 kB / 3.191 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/7.125, allocations: 35.97 kB / 3.191 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/7.125, allocations: 4 kB / 3.191 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/7.126, allocations: 0.6855 MB / 3.192 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/7.126, allocations: 0 / 3.192 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/7.126, allocations: 4.109 kB / 3.192 GB, free: 29.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/7.127, allocations: 171.8 kB / 3.192 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/7.127, allocations: 4 kB / 3.192 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/7.128, allocations: 91.52 kB / 3.192 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/7.128, allocations: 39.97 kB / 3.192 GB, free: 28.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002515/7.129, allocations: 120.8 kB / 3.192 GB, free: 28.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/7.129, allocations: 98.78 kB / 3.192 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/7.13, allocations: 0.8069 MB / 3.193 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/7.13, allocations: 4 kB / 3.193 GB, free: 27.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/7.13, allocations: 7.906 kB / 3.193 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/7.13, allocations: 3.984 kB / 3.193 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/7.133, allocations: 1.803 MB / 3.195 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/7.133, allocations: 3.984 kB / 3.195 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009639/7.134, allocations: 175.8 kB / 3.195 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/7.134, allocations: 4 kB / 3.195 GB, free: 25.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/7.134, allocations: 15.98 kB / 3.195 GB, free: 25.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/7.134, allocations: 8 kB / 3.195 GB, free: 25.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/7.134, allocations: 4 kB / 3.195 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001758/7.136, allocations: 1.362 MB / 3.196 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/7.136, allocations: 303.6 kB / 3.197 GB, free: 23.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/7.136, allocations: 7.906 kB / 3.197 GB, free: 23.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/7.138, allocations: 107.9 kB / 3.197 GB, free: 23.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/7.138, allocations: 48.28 kB / 3.197 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/7.138, allocations: 39.97 kB / 3.197 GB, free: 23.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008497/7.139, allocations: 0.6491 MB / 3.198 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002231/7.141, allocations: 0.6199 MB / 3.198 GB, free: 22.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.002827/7.144, allocations: 1.864 MB / 3.2 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001795/7.146, allocations: 1.137 MB / 3.201 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/7.146, allocations: 0 / 3.201 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/7.146, allocations: 333.4 kB / 3.201 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/7.148, allocations: 395 kB / 3.202 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/7.156, allocations: 2.321 MB / 3.204 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009354/7.157, allocations: 1.23 MB / 3.205 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/7.157, allocations: 0 / 3.205 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.3697/7.527, allocations: 34.01 MB / 3.239 GB, free: 123.2 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)