Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.742/2.742, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001717/0.001717, allocations: 185.2 kB / 360.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001216/0.001215, allocations: 88.08 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.271/0.2722, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.9251, allocations: 115.2 MB / 0.9627 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.55/6.475, allocations: 2.08 GB / 3.043 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/6.475, allocations: 87.7 kB / 3.043 GB, free: 268.6 MB / 0.9323 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 2.097/8.573, allocations: 461 MB / 3.493 GB, free: 234.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/8.573, allocations: 10.59 kB / 3.493 GB, free: 234.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/8.575, allocations: 183.2 kB / 3.493 GB, free: 234.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/8.578, allocations: 0.8101 MB / 3.494 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/8.578, allocations: 12.03 kB / 3.494 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/8.578, allocations: 29.81 kB / 3.494 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008884/8.579, allocations: 280.6 kB / 3.494 GB, free: 234 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/8.58, allocations: 446.4 kB / 3.495 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/8.58, allocations: 0 / 3.495 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/8.58, allocations: 0 / 3.495 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/8.58, allocations: 8.844 kB / 3.495 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004931/8.585, allocations: 1.915 MB / 3.497 GB, free: 232.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/8.586, allocations: 306 kB / 3.497 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/8.586, allocations: 136.5 kB / 3.497 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004012/8.587, allocations: 188.8 kB / 3.497 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/8.587, allocations: 48.48 kB / 3.497 GB, free: 231.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.896e-06/8.587, allocations: 0 / 3.497 GB, free: 231.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001945/8.589, allocations: 403.5 kB / 3.498 GB, free: 231.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/8.589, allocations: 216.6 kB / 3.498 GB, free: 231.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/8.59, allocations: 0.6758 MB / 3.498 GB, free: 230.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/8.591, allocations: 25.7 kB / 3.498 GB, free: 230.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/8.591, allocations: 235.5 kB / 3.499 GB, free: 230.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/8.591, allocations: 94.44 kB / 3.499 GB, free: 230.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/8.591, allocations: 0 / 3.499 GB, free: 230.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/8.591, allocations: 316.9 kB / 3.499 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/8.591, allocations: 135.1 kB / 3.499 GB, free: 230.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/8.592, allocations: 342.3 kB / 3.5 GB, free: 229.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/8.593, allocations: 173.1 kB / 3.5 GB, free: 229.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/8.593, allocations: 2.969 kB / 3.5 GB, free: 229.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00196/8.595, allocations: 466.1 kB / 3.5 GB, free: 229.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/8.595, allocations: 280.7 kB / 3.5 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/8.595, allocations: 3.031 kB / 3.5 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/8.595, allocations: 32.64 kB / 3.5 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/8.596, allocations: 90.45 kB / 3.501 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009547/8.597, allocations: 1.179 MB / 3.502 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/8.599, allocations: 91.98 kB / 3.502 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/8.599, allocations: 18.09 kB / 3.502 GB, free: 228 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/8.599, allocations: 10.66 kB / 3.502 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/8.601, allocations: 339.8 kB / 3.502 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/8.601, allocations: 10.89 kB / 3.502 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/8.601, allocations: 39.75 kB / 3.502 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/8.602, allocations: 74.28 kB / 3.502 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/8.603, allocations: 1.403 MB / 3.504 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/8.605, allocations: 96.89 kB / 3.504 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/8.605, allocations: 20.78 kB / 3.504 GB, free: 226.3 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.0002588/8.605, allocations: 112.7 kB / 3.504 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/8.606, allocations: 72.12 kB / 3.504 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/8.607, allocations: 403.7 kB / 3.504 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/8.607, allocations: 5.531 kB / 3.504 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/8.607, allocations: 0 / 3.504 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/8.607, allocations: 2.594 kB / 3.504 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/8.61, allocations: 1.11 MB / 3.505 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.914e-06/8.61, allocations: 3.562 kB / 3.505 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/8.611, allocations: 71.36 kB / 3.505 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/8.611, allocations: 29.48 kB / 3.505 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/8.611, allocations: 13.14 kB / 3.505 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007034/8.612, allocations: 1.162 MB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/8.612, allocations: 2.375 kB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001742/8.614, allocations: 0.7312 MB / 3.507 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002337/8.616, allocations: 1.327 MB / 3.509 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/8.618, allocations: 205.3 kB / 3.509 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/8.618, allocations: 9.078 kB / 3.509 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/8.62, allocations: 58.34 kB / 3.509 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/8.62, allocations: 29.38 kB / 3.509 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/8.62, allocations: 19.14 kB / 3.509 GB, free: 222.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001384/8.621, allocations: 0.5309 MB / 3.509 GB, free: 221.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005463/8.627, allocations: 0.7335 MB / 3.51 GB, free: 221.4 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.002866/8.63, allocations: 1.458 MB / 3.512 GB, free: 220.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002759/8.633, allocations: 0.7394 MB / 3.512 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/8.633, allocations: 0 / 3.512 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006099/8.633, allocations: 159.7 kB / 3.512 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/8.636, allocations: 249 kB / 3.513 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/8.639, allocations: 0.9665 MB / 3.514 GB, free: 219.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/8.641, allocations: 1.048 MB / 3.515 GB, free: 218.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.994e-06/8.641, allocations: 1.375 kB / 3.515 GB, free: 218.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)