Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) [: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.1.4-maint.8.1.x/package.mo): time 2.021/2.021, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001291/0.001291, allocations: 181.3 kB / 366.3 MB, free: 1.984 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.724/1.724, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009907/0.0009906, allocations: 92.27 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3326/0.3337, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/1.122, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.322/6.445, allocations: 2.081 GB / 3.054 GB, free: 352.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/6.445, allocations: 92.53 kB / 3.054 GB, free: 352.2 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 1.592/8.038, allocations: 461 MB / 3.504 GB, free: 246.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/8.038, allocations: 11.12 kB / 3.504 GB, free: 246.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/8.039, allocations: 192.9 kB / 3.504 GB, free: 246.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/8.041, allocations: 0.8035 MB / 3.505 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/8.041, allocations: 11.81 kB / 3.505 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/8.042, allocations: 32.12 kB / 3.505 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005108/8.042, allocations: 278.5 kB / 3.505 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/8.043, allocations: 437.4 kB / 3.506 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/8.043, allocations: 6.484 kB / 3.506 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/8.043, allocations: 3.906 kB / 3.506 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/8.043, allocations: 8.719 kB / 3.506 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/8.046, allocations: 1.907 MB / 3.508 GB, free: 245 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/8.046, allocations: 315.6 kB / 3.508 GB, free: 245 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/8.046, allocations: 139.4 kB / 3.508 GB, free: 245 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/8.047, allocations: 182.8 kB / 3.508 GB, free: 244.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/8.047, allocations: 41.31 kB / 3.508 GB, free: 244.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 3.406e-06/8.047, allocations: 0 / 3.508 GB, free: 244.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001204/8.048, allocations: 422.5 kB / 3.509 GB, free: 244.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/8.048, allocations: 215.3 kB / 3.509 GB, free: 244.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/8.049, allocations: 0.6745 MB / 3.509 GB, free: 244.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/8.049, allocations: 29.67 kB / 3.509 GB, free: 244.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/8.049, allocations: 232.3 kB / 3.51 GB, free: 244.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/8.049, allocations: 90.75 kB / 3.51 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/8.049, allocations: 0 / 3.51 GB, free: 244.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/8.049, allocations: 320.7 kB / 3.51 GB, free: 243.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/8.05, allocations: 128.8 kB / 3.51 GB, free: 243.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/8.05, allocations: 337.6 kB / 3.511 GB, free: 243.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/8.05, allocations: 172.7 kB / 3.511 GB, free: 243.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/8.05, allocations: 6.125 kB / 3.511 GB, free: 243.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001161/8.052, allocations: 466.2 kB / 3.511 GB, free: 243.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/8.052, allocations: 280.8 kB / 3.511 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/8.052, allocations: 3.938 kB / 3.511 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/8.052, allocations: 36.28 kB / 3.511 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/8.053, allocations: 78.59 kB / 3.512 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007733/8.053, allocations: 1.177 MB / 3.513 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/8.054, allocations: 96.12 kB / 3.513 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/8.055, allocations: 22.72 kB / 3.513 GB, free: 242.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/8.055, allocations: 6.344 kB / 3.513 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006983/8.055, allocations: 340.8 kB / 3.513 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/8.055, allocations: 13.81 kB / 3.513 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/8.055, allocations: 36.84 kB / 3.513 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/8.056, allocations: 73.73 kB / 3.513 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/8.057, allocations: 1.41 MB / 3.515 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/8.058, allocations: 99.08 kB / 3.515 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/8.058, allocations: 11.47 kB / 3.515 GB, free: 240.8 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.0001628/8.058, allocations: 110.7 kB / 3.515 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/8.058, allocations: 77.42 kB / 3.515 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008416/8.059, allocations: 396.8 kB / 3.515 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/8.059, allocations: 3.438 kB / 3.515 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/8.059, allocations: 6.953 kB / 3.515 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/8.059, allocations: 0 / 3.515 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/8.061, allocations: 1.107 MB / 3.516 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/8.061, allocations: 3.906 kB / 3.516 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/8.061, allocations: 67.95 kB / 3.516 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.162e-05/8.061, allocations: 34.16 kB / 3.516 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/8.062, allocations: 10.61 kB / 3.516 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005111/8.062, allocations: 1.154 MB / 3.518 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/8.062, allocations: 4.594 kB / 3.518 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009204/8.063, allocations: 0.7354 MB / 3.518 GB, free: 238.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001737/8.065, allocations: 1.324 MB / 3.52 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/8.065, allocations: 213.3 kB / 3.52 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/8.065, allocations: 10.2 kB / 3.52 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/8.066, allocations: 58.5 kB / 3.52 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/8.066, allocations: 22.61 kB / 3.52 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/8.066, allocations: 17.72 kB / 3.52 GB, free: 237.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007118/8.067, allocations: 0.5257 MB / 3.52 GB, free: 237.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00367/8.071, allocations: 0.737 MB / 3.521 GB, free: 237.8 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.002285/8.073, allocations: 1.452 MB / 3.523 GB, free: 237.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001616/8.075, allocations: 0.7376 MB / 3.523 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/8.075, allocations: 6.094 kB / 3.523 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/8.075, allocations: 155.5 kB / 3.523 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/8.077, allocations: 252.4 kB / 3.524 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/8.079, allocations: 0.9665 MB / 3.525 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007715/8.079, allocations: 1.058 MB / 3.526 GB, free: 236.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.021e-06/8.079, allocations: 4.047 kB / 3.526 GB, free: 236.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)