Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.48/1.48, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 181.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 0.6195 GB, free: 10.33 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008465/0.0008465, allocations: 88.5 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.044e-06, allocations: 0 / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5647, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.78/4.345, allocations: 2.08 GB / 3.044 GB, free: 70.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/4.345, allocations: 93.34 kB / 3.044 GB, free: 70.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.904/6.25, allocations: 459.9 MB / 3.493 GB, free: 235.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.281e-05/6.25, allocations: 29.84 kB / 3.493 GB, free: 235.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001856/6.252, allocations: 1.083 MB / 3.494 GB, free: 235 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/6.252, allocations: 10.59 kB / 3.494 GB, free: 235 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/6.253, allocations: 181 kB / 3.494 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/6.254, allocations: 0.8134 MB / 3.495 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/6.254, allocations: 11.31 kB / 3.495 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/6.254, allocations: 30.89 kB / 3.495 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004563/6.255, allocations: 276 kB / 3.495 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/6.255, allocations: 443 kB / 3.496 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/6.255, allocations: 3.781 kB / 3.496 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/6.255, allocations: 1.938 kB / 3.496 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/6.256, allocations: 9.812 kB / 3.496 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/6.258, allocations: 1.91 MB / 3.498 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/6.258, allocations: 309.3 kB / 3.498 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/6.258, allocations: 145.4 kB / 3.498 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/6.259, allocations: 190.3 kB / 3.498 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/6.259, allocations: 44.53 kB / 3.498 GB, free: 233.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/6.259, allocations: 0 / 3.498 GB, free: 233.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001027/6.26, allocations: 402.5 kB / 3.499 GB, free: 233.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/6.26, allocations: 209.5 kB / 3.499 GB, free: 233 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/6.261, allocations: 0.6716 MB / 3.5 GB, free: 232.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/6.261, allocations: 32.86 kB / 3.5 GB, free: 232.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/6.261, allocations: 239 kB / 3.5 GB, free: 232.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/6.261, allocations: 88.75 kB / 3.5 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/6.261, allocations: 0 / 3.5 GB, free: 232.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/6.261, allocations: 320.3 kB / 3.5 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/6.261, allocations: 129.9 kB / 3.5 GB, free: 232.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/6.261, allocations: 335.9 kB / 3.501 GB, free: 232.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/6.262, allocations: 172.2 kB / 3.501 GB, free: 232.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/6.262, allocations: 0 / 3.501 GB, free: 232.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008113/6.263, allocations: 471.5 kB / 3.501 GB, free: 232.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/6.263, allocations: 272.5 kB / 3.501 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/6.263, allocations: 7.031 kB / 3.501 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/6.263, allocations: 33.83 kB / 3.502 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/6.263, allocations: 92.06 kB / 3.502 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005536/6.264, allocations: 1.173 MB / 3.503 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008482/6.265, allocations: 96.52 kB / 3.503 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/6.265, allocations: 16.88 kB / 3.503 GB, free: 230.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.495e-06/6.265, allocations: 5.062 kB / 3.503 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006396/6.266, allocations: 346.2 kB / 3.503 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/6.266, allocations: 7.062 kB / 3.503 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/6.266, allocations: 41.25 kB / 3.503 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/6.266, allocations: 81.52 kB / 3.503 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009343/6.267, allocations: 1.392 MB / 3.505 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/6.268, allocations: 89.36 kB / 3.505 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/6.268, allocations: 21.39 kB / 3.505 GB, free: 229.4 MB / 0.948 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 (31): * Single equations (assignments): 25 * 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.0001181/6.268, allocations: 122.4 kB / 3.505 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/6.268, allocations: 70.84 kB / 3.505 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/6.269, allocations: 403.5 kB / 3.505 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/6.269, allocations: 7.062 kB / 3.505 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/6.269, allocations: 3 kB / 3.505 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/6.269, allocations: 3.938 kB / 3.505 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/6.27, allocations: 1.109 MB / 3.506 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/6.27, allocations: 0 / 3.506 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/6.271, allocations: 68.02 kB / 3.507 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.669e-05/6.271, allocations: 26.5 kB / 3.507 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/6.271, allocations: 14.16 kB / 3.507 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000429/6.271, allocations: 1.153 MB / 3.508 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/6.271, allocations: 9.094 kB / 3.508 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007818/6.272, allocations: 0.7368 MB / 3.508 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/6.272, allocations: 205 kB / 3.509 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/6.273, allocations: 18.44 kB / 3.509 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/6.273, allocations: 54.25 kB / 3.509 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/6.273, allocations: 26.23 kB / 3.509 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/6.273, allocations: 10.5 kB / 3.509 GB, free: 227.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005694/6.274, allocations: 0.5313 MB / 3.509 GB, free: 227.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001326/6.275, allocations: 454.4 kB / 3.51 GB, free: 227.2 MB / 0.948 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 (25): * Single equations (assignments): 23 * 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.001847/6.277, allocations: 1.457 MB / 3.511 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00126/6.278, allocations: 0.7397 MB / 3.512 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/6.278, allocations: 3.875 kB / 3.512 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/6.279, allocations: 153.2 kB / 3.512 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/6.28, allocations: 254.9 kB / 3.512 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/6.282, allocations: 0.9534 MB / 3.513 GB, free: 226.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/6.282, allocations: 1.045 MB / 3.514 GB, free: 225.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/6.282, allocations: 3.562 kB / 3.514 GB, free: 225.6 MB / 0.948 GB Notification: Performance of Templates: time 0.03074/6.313, allocations: 22.85 MB / 3.536 GB, free: 225.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)