Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2806/0.2806, allocations: 54.39 MB / 61.68 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.001632/0.001632, allocations: 187.6 kB / 75.38 MB, free: 1.457 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.46/1.46, allocations: 194.2 MB / 283.2 MB, free: 3.566 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.001681/0.001681, allocations: 111.1 kB / 341.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.153e-06, allocations: 4 kB / 405 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/4.933, allocations: 2.137 GB / 2.589 GB, free: 55.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/4.934, allocations: 95.88 kB / 2.589 GB, free: 55.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.475/6.408, allocations: 444.6 MB / 3.023 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001342/6.408, allocations: 23.98 kB / 3.023 GB, free: 4.242 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.003404/6.412, allocations: 1.163 MB / 3.024 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/6.412, allocations: 15.95 kB / 3.024 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/6.413, allocations: 178.7 kB / 3.024 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/6.415, allocations: 0.7458 MB / 3.025 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/6.415, allocations: 16 kB / 3.025 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/6.416, allocations: 32 kB / 3.025 GB, free: 2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007639/6.416, allocations: 393.8 kB / 3.025 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/6.417, allocations: 0.5389 MB / 3.026 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/6.417, allocations: 0 / 3.026 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/6.417, allocations: 7.984 kB / 3.026 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/6.417, allocations: 15.91 kB / 3.026 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2667/6.684, allocations: 2.017 MB / 3.028 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/6.685, allocations: 326.5 kB / 3.028 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/6.685, allocations: 137.3 kB / 3.028 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/6.685, allocations: 7.484 kB / 3.028 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/6.685, allocations: 41.38 kB / 3.028 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/6.685, allocations: 2.812 kB / 3.028 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.00318/6.688, allocations: 0.7417 MB / 3.029 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/6.688, allocations: 216.8 kB / 3.029 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/6.689, allocations: 0.6083 MB / 3.03 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/6.689, allocations: 29.52 kB / 3.03 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/6.689, allocations: 283.1 kB / 3.03 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/6.689, allocations: 101.6 kB / 3.03 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/6.689, allocations: 0 / 3.03 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/6.689, allocations: 323.5 kB / 3.031 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/6.69, allocations: 167.2 kB / 3.031 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/6.69, allocations: 318.1 kB / 3.031 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/6.69, allocations: 211.2 kB / 3.031 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/6.69, allocations: 0 / 3.031 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002462/6.693, allocations: 0.7849 MB / 3.032 GB, free: 123 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/6.693, allocations: 0.6118 MB / 3.033 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/6.693, allocations: 10.09 kB / 3.033 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/6.693, allocations: 74.11 kB / 3.033 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/6.695, allocations: 350.9 kB / 3.033 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/6.696, allocations: 1.309 MB / 3.034 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/6.697, allocations: 108.7 kB / 3.034 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/6.697, allocations: 29 kB / 3.034 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/6.697, allocations: 7 kB / 3.034 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007682/6.698, allocations: 400.7 kB / 3.035 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/6.698, allocations: 17.2 kB / 3.035 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/6.699, allocations: 52.73 kB / 3.035 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/6.699, allocations: 101.4 kB / 3.035 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009515/6.7, allocations: 1.396 MB / 3.036 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/6.701, allocations: 67.2 kB / 3.036 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/6.701, allocations: 21.02 kB / 3.036 GB, free: 120 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (43): * Single equations (assignments): 37 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002122/6.701, allocations: 116.6 kB / 3.036 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/6.701, allocations: 70.88 kB / 3.037 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/6.703, allocations: 0.622 MB / 3.037 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/6.703, allocations: 3.781 kB / 3.037 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/6.703, allocations: 0 / 3.037 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/6.703, allocations: 3.703 kB / 3.037 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/6.706, allocations: 1.305 MB / 3.038 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/6.706, allocations: 0 / 3.038 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/6.708, allocations: 306.1 kB / 3.039 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/6.708, allocations: 73.03 kB / 3.039 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/6.708, allocations: 10.88 kB / 3.039 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/6.712, allocations: 3.157 MB / 3.042 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/6.712, allocations: 2.969 kB / 3.042 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002469/6.715, allocations: 0.9746 MB / 3.043 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/6.715, allocations: 216.7 kB / 3.043 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/6.716, allocations: 3.938 kB / 3.043 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/6.716, allocations: 76.05 kB / 3.043 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/6.717, allocations: 28.88 kB / 3.043 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/6.717, allocations: 22.94 kB / 3.043 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006947/6.717, allocations: 487.2 kB / 3.044 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001988/6.719, allocations: 0.4927 MB / 3.044 GB, free: 116.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[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.002022/6.721, allocations: 1.426 MB / 3.046 GB, free: 116 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004283/6.726, allocations: 1.219 MB / 3.047 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/6.726, allocations: 0 / 3.047 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003617/6.729, allocations: 0.7966 MB / 3.047 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/6.731, allocations: 265.2 kB / 3.048 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/6.735, allocations: 1.336 MB / 3.049 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/6.735, allocations: 1.076 MB / 3.05 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.104e-06/6.735, allocations: 0 / 3.05 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.043/6.778, allocations: 23.8 MB / 3.073 GB, free: 114.3 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)