Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.4988/0.4988, allocations: 94.74 MB / 102 MB, free: 10.34 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.001012/0.001011, allocations: 184.8 kB / 125.3 MB, free: 11.96 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.19/1.19, 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.001603/0.001603, allocations: 113.3 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.522e-06, allocations: 0 / 448.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 61.52 MB / 0.4981 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7893/0.9396, allocations: 387.5 MB / 0.8766 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.9399, allocations: 94.62 kB / 0.8767 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.4199/1.36, allocations: 92.82 MB / 0.9673 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.612e-05/1.36, allocations: 7.812 kB / 0.9673 GB, free: 125.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001276/1.361, allocations: 0.6664 MB / 0.968 GB, free: 125 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.361, allocations: 12.47 kB / 0.968 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/1.362, allocations: 50.84 kB / 0.968 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/1.362, allocations: 424.6 kB / 0.9684 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.363, allocations: 3.906 kB / 0.9684 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/1.363, allocations: 15.72 kB / 0.9684 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002947/1.363, allocations: 162.8 kB / 0.9686 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/1.363, allocations: 243.2 kB / 0.9688 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.363, allocations: 0 / 0.9688 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/1.363, allocations: 0 / 0.9688 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/1.363, allocations: 11.91 kB / 0.9688 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/1.365, allocations: 1.237 MB / 0.97 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/1.366, allocations: 113.2 kB / 0.9702 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/1.366, allocations: 40.53 kB / 0.9702 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/1.366, allocations: 3.75 kB / 0.9702 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/1.366, allocations: 34.47 kB / 0.9702 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/1.366, allocations: 0 / 0.9702 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0004762/1.366, allocations: 135.9 kB / 0.9704 GB, free: 123 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.366, allocations: 106.7 kB / 0.9705 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/1.367, allocations: 380.7 kB / 0.9708 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.367, allocations: 29.7 kB / 0.9709 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/1.367, allocations: 190.8 kB / 0.971 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/1.367, allocations: 31.45 kB / 0.9711 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/1.367, allocations: 3.719 kB / 0.9711 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/1.367, allocations: 342.6 kB / 0.9714 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/1.367, allocations: 47.64 kB / 0.9714 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/1.367, allocations: 171.6 kB / 0.9716 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/1.368, allocations: 94.92 kB / 0.9717 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.368, allocations: 3.969 kB / 0.9717 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005799/1.368, allocations: 250.4 kB / 0.9719 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/1.368, allocations: 1.221 MB / 0.9731 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.368, allocations: 3.906 kB / 0.9731 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.368, allocations: 3.906 kB / 0.9731 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/1.369, allocations: 98.28 kB / 0.9732 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004558/1.37, allocations: 0.624 MB / 0.9738 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/1.37, allocations: 39.53 kB / 0.9739 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/1.37, allocations: 7.812 kB / 0.9739 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/1.37, allocations: 3.906 kB / 0.9739 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003376/1.37, allocations: 173.1 kB / 0.9741 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.37, allocations: 3.906 kB / 0.9741 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/1.37, allocations: 7.781 kB / 0.9741 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/1.371, allocations: 58.92 kB / 0.9741 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.371, allocations: 5.781 kB / 0.9741 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/1.371, allocations: 31.73 kB / 0.9742 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/1.371, allocations: 11.91 kB / 0.9742 GB, free: 119.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 9.582e-05/1.371, allocations: 112.7 kB / 0.9743 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/1.371, allocations: 38.78 kB / 0.9743 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/1.372, allocations: 178.8 kB / 0.9745 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.372, allocations: 0 / 0.9745 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.372, allocations: 3.906 kB / 0.9745 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.372, allocations: 0 / 0.9745 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/1.373, allocations: 0.5576 MB / 0.975 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.373, allocations: 0 / 0.975 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/1.373, allocations: 66.8 kB / 0.9751 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.373, allocations: 8 kB / 0.9751 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/1.373, allocations: 3.906 kB / 0.9751 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003162/1.373, allocations: 0.6164 MB / 0.9757 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.373, allocations: 0 / 0.9757 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003808/1.374, allocations: 312.7 kB / 0.976 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/1.374, allocations: 124.3 kB / 0.9761 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/1.374, allocations: 3.906 kB / 0.9761 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/1.374, allocations: 27.5 kB / 0.9762 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/1.374, allocations: 6.469 kB / 0.9762 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.374, allocations: 11.7 kB / 0.9762 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002548/1.375, allocations: 292.2 kB / 0.9765 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008092/1.375, allocations: 230 kB / 0.9767 GB, free: 117.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0006095/1.376, allocations: 332 kB / 0.977 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009454/1.377, allocations: 281.7 kB / 0.9773 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.377, allocations: 0 / 0.9773 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/1.377, allocations: 115.4 kB / 0.9774 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/1.378, allocations: 119 kB / 0.9775 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008392/1.379, allocations: 410.4 kB / 0.9779 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/1.379, allocations: 0.8418 MB / 0.9787 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/1.379, allocations: 0 / 0.9787 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.01279/1.392, allocations: 8.571 MB / 0.9871 GB, free: 111.9 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)