Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Annex60.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper") [: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.2788/0.2788, 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.001178/0.001178, allocations: 191.3 kB / 75.38 MB, free: 1.52 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.444/1.444, allocations: 194.2 MB / 283.2 MB, free: 3.504 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.001785/0.001785, allocations: 120.8 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.142e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 57.65 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.814/4.929, allocations: 2.135 GB / 2.587 GB, free: 65.92 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/4.929, allocations: 95.94 kB / 2.587 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.6642/5.594, allocations: 217.9 MB / 2.8 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.722e-05/5.594, allocations: 12 kB / 2.8 GB, free: 49.44 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001427/5.595, allocations: 0.7336 MB / 2.801 GB, free: 48.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/5.595, allocations: 15.97 kB / 2.801 GB, free: 48.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006004/5.596, allocations: 87.28 kB / 2.801 GB, free: 48.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/5.596, allocations: 407.4 kB / 2.801 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/5.596, allocations: 23.88 kB / 2.801 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/5.597, allocations: 16 kB / 2.801 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003829/5.597, allocations: 225.2 kB / 2.801 GB, free: 47.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/5.597, allocations: 268.6 kB / 2.802 GB, free: 47.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/5.597, allocations: 0 / 2.802 GB, free: 47.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/5.597, allocations: 0 / 2.802 GB, free: 47.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/5.597, allocations: 8 kB / 2.802 GB, free: 47.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/5.599, allocations: 1.036 MB / 2.803 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/5.599, allocations: 110.5 kB / 2.803 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/5.599, allocations: 61 kB / 2.803 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/5.599, allocations: 3.984 kB / 2.803 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/5.599, allocations: 34.56 kB / 2.803 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.454e-06/5.599, allocations: 4 kB / 2.803 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0005667/5.6, allocations: 189.4 kB / 2.803 GB, free: 46.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.6e-05/5.6, allocations: 51.41 kB / 2.803 GB, free: 46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/5.6, allocations: 349.9 kB / 2.803 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/5.6, allocations: 33.7 kB / 2.803 GB, free: 45.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/5.6, allocations: 199.6 kB / 2.804 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/5.6, allocations: 35.45 kB / 2.804 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/5.6, allocations: 0 / 2.804 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/5.601, allocations: 342.8 kB / 2.804 GB, free: 45.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/5.601, allocations: 60.36 kB / 2.804 GB, free: 44.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/5.601, allocations: 147.1 kB / 2.804 GB, free: 44.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/5.601, allocations: 75.97 kB / 2.804 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/5.601, allocations: 4 kB / 2.804 GB, free: 44.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003297/5.601, allocations: 233.2 kB / 2.804 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/5.601, allocations: 0.7959 MB / 2.805 GB, free: 43.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/5.601, allocations: 0 / 2.805 GB, free: 43.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/5.601, allocations: 4 kB / 2.805 GB, free: 43.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/5.603, allocations: 299.7 kB / 2.806 GB, free: 43.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000776/5.604, allocations: 0.7108 MB / 2.806 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/5.604, allocations: 43.91 kB / 2.806 GB, free: 42.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/5.604, allocations: 8 kB / 2.806 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/5.604, allocations: 4 kB / 2.806 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002517/5.605, allocations: 163.8 kB / 2.806 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/5.605, allocations: 7.938 kB / 2.806 GB, free: 42.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-06/5.605, allocations: 0 / 2.806 GB, free: 42.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/5.605, allocations: 60.09 kB / 2.806 GB, free: 42.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/5.605, allocations: 4 kB / 2.806 GB, free: 42.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/5.605, allocations: 31.81 kB / 2.807 GB, free: 42.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/5.605, allocations: 12 kB / 2.807 GB, free: 42.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * 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): 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.0001003/5.605, allocations: 108.9 kB / 2.807 GB, free: 42.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/5.606, allocations: 35.53 kB / 2.807 GB, free: 42.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/5.606, allocations: 180.6 kB / 2.807 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/5.606, allocations: 3.984 kB / 2.807 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/5.606, allocations: 0 / 2.807 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/5.606, allocations: 0 / 2.807 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/5.607, allocations: 0.6638 MB / 2.807 GB, free: 41.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/5.607, allocations: 4.062 kB / 2.807 GB, free: 41.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/5.608, allocations: 275.9 kB / 2.808 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/5.608, allocations: 4 kB / 2.808 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/5.608, allocations: 0 / 2.808 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/5.61, allocations: 1.441 MB / 2.809 GB, free: 39.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/5.61, allocations: 7.938 kB / 2.809 GB, free: 39.36 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003364/5.61, allocations: 374.5 kB / 2.81 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/5.61, allocations: 152.6 kB / 2.81 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/5.61, allocations: 4 kB / 2.81 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/5.611, allocations: 35.88 kB / 2.81 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/5.611, allocations: 7.984 kB / 2.81 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/5.611, allocations: 23.98 kB / 2.81 GB, free: 38.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002702/5.611, allocations: 268.5 kB / 2.81 GB, free: 38.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001021/5.612, allocations: 259.4 kB / 2.81 GB, free: 38.17 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001515/5.614, allocations: 1.032 MB / 2.811 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0029/5.617, allocations: 0.6266 MB / 2.812 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/5.617, allocations: 4 kB / 2.812 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003186/5.62, allocations: 0.5977 MB / 2.812 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/5.621, allocations: 134.5 kB / 2.813 GB, free: 35.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/5.622, allocations: 0.5829 MB / 2.813 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/5.623, allocations: 0.8577 MB / 2.814 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/5.623, allocations: 4 kB / 2.814 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.01855/5.641, allocations: 12.52 MB / 2.826 GB, free: 21.75 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)