Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7346/0.7346, allocations: 141.8 MB / 149.1 MB, free: 4.605 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 187.9 kB / 181.9 MB, free: 264 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.3 MB / 436 MB, free: 9.445 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 94.78 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 280.9 kB / 0.5884 GB, free: 12.42 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.207e-05/1.21e-05, allocations: 7.938 kB / 0.6759 GB, free: 2.785 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4009, allocations: 82.77 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.475/3.876, allocations: 1.872 GB / 2.629 GB, free: 96.23 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/3.876, allocations: 96.58 kB / 2.629 GB, free: 96.18 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.427/5.303, allocations: 462.1 MB / 3.081 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001108/5.303, allocations: 22.59 kB / 3.081 GB, free: 170.2 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002489/5.306, allocations: 1.004 MB / 3.082 GB, free: 169.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/5.306, allocations: 11.12 kB / 3.082 GB, free: 169.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/5.307, allocations: 178 kB / 3.082 GB, free: 169.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/5.309, allocations: 0.7028 MB / 3.082 GB, free: 169.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/5.309, allocations: 11.72 kB / 3.082 GB, free: 169.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/5.309, allocations: 30.66 kB / 3.082 GB, free: 169.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005331/5.31, allocations: 278 kB / 3.083 GB, free: 169.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/5.31, allocations: 370.6 kB / 3.083 GB, free: 169.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/5.31, allocations: 7.141 kB / 3.083 GB, free: 169.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/5.31, allocations: 0 / 3.083 GB, free: 169.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/5.31, allocations: 18.69 kB / 3.083 GB, free: 169.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/5.313, allocations: 1.897 MB / 3.085 GB, free: 168.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/5.314, allocations: 321.9 kB / 3.085 GB, free: 168.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/5.314, allocations: 141.2 kB / 3.085 GB, free: 168.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/5.314, allocations: 193.6 kB / 3.086 GB, free: 168.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/5.314, allocations: 40.52 kB / 3.086 GB, free: 168.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/5.315, allocations: 0 / 3.086 GB, free: 168.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=28): time 0.001316/5.316, allocations: 407.4 kB / 3.086 GB, free: 168 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/5.316, allocations: 58.56 kB / 3.086 GB, free: 167.9 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009115/5.317, allocations: 0.6437 MB / 3.087 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/5.317, allocations: 25.7 kB / 3.087 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/5.317, allocations: 221.2 kB / 3.087 GB, free: 167.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/5.317, allocations: 102 kB / 3.087 GB, free: 167.6 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/5.317, allocations: 0.75 kB / 3.087 GB, free: 167.6 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/5.317, allocations: 324.2 kB / 3.087 GB, free: 167.3 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/5.317, allocations: 103.1 kB / 3.087 GB, free: 167.3 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/5.318, allocations: 274 kB / 3.088 GB, free: 167.1 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/5.318, allocations: 143.6 kB / 3.088 GB, free: 167.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.318, allocations: 0 / 3.088 GB, free: 167.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007637/5.319, allocations: 403.6 kB / 3.088 GB, free: 167 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/5.319, allocations: 274.7 kB / 3.088 GB, free: 166.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/5.319, allocations: 1.172 kB / 3.088 GB, free: 166.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/5.319, allocations: 35.75 kB / 3.088 GB, free: 166.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/5.32, allocations: 109.8 kB / 3.089 GB, free: 166.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005811/5.32, allocations: 1.17 MB / 3.09 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/5.321, allocations: 92.12 kB / 3.09 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/5.321, allocations: 16.66 kB / 3.09 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/5.321, allocations: 7.562 kB / 3.09 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005272/5.322, allocations: 282.9 kB / 3.09 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/5.322, allocations: 6.938 kB / 3.09 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/5.322, allocations: 37.25 kB / 3.09 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/5.322, allocations: 104.3 kB / 3.09 GB, free: 165.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/5.323, allocations: 1.408 MB / 3.092 GB, free: 164.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009266/5.324, allocations: 86.12 kB / 3.092 GB, free: 164.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/5.324, allocations: 15.67 kB / 3.092 GB, free: 164.3 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001301/5.325, allocations: 118.3 kB / 3.092 GB, free: 164.2 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/5.325, allocations: 65.12 kB / 3.092 GB, free: 164.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/5.325, allocations: 413 kB / 3.092 GB, free: 164.1 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/5.325, allocations: 0 / 3.092 GB, free: 164.1 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/5.325, allocations: 4 kB / 3.092 GB, free: 164.1 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/5.326, allocations: 7.344 kB / 3.092 GB, free: 164.1 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/5.327, allocations: 1.133 MB / 3.093 GB, free: 163.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/5.327, allocations: 3.812 kB / 3.093 GB, free: 163.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/5.328, allocations: 66.75 kB / 3.093 GB, free: 163.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.684e-05/5.328, allocations: 38.2 kB / 3.094 GB, free: 163.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/5.328, allocations: 7.344 kB / 3.094 GB, free: 163.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004877/5.328, allocations: 1.157 MB / 3.095 GB, free: 162.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/5.328, allocations: 0 / 3.095 GB, free: 162.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008909/5.329, allocations: 0.7238 MB / 3.095 GB, free: 162.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/5.33, allocations: 209 kB / 3.096 GB, free: 162.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/5.33, allocations: 7.75 kB / 3.096 GB, free: 162.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/5.331, allocations: 58.33 kB / 3.096 GB, free: 162.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/5.331, allocations: 17.56 kB / 3.096 GB, free: 162.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/5.331, allocations: 21.92 kB / 3.096 GB, free: 162.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006198/5.331, allocations: 0.5075 MB / 3.096 GB, free: 162.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001371/5.333, allocations: 402.7 kB / 3.097 GB, free: 162.1 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/5.334, allocations: 1.421 MB / 3.098 GB, free: 161.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001145/5.336, allocations: 0.5612 MB / 3.098 GB, free: 161.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/5.336, allocations: 0 / 3.098 GB, free: 161.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/5.336, allocations: 157.3 kB / 3.099 GB, free: 161.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/5.337, allocations: 228.1 kB / 3.099 GB, free: 161.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/5.339, allocations: 0.9083 MB / 3.1 GB, free: 161.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/5.339, allocations: 1.02 MB / 3.101 GB, free: 160.6 MB / 0.6982 GB Notification: Performance of SimCode: time 8.22e-07/5.339, allocations: 3.875 kB / 3.101 GB, free: 160.6 MB / 0.6982 GB Notification: Performance of Templates: time 0.03405/5.373, allocations: 21.21 MB / 3.121 GB, free: 149.2 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)