Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.005272/0.005272, allocations: 180.7 kB / 7.458 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.958/0.958, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 102.4 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.459/0.4602, allocations: 88.42 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.6473, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.118/4.765, allocations: 1.875 GB / 2.508 GB, free: 80.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/4.766, allocations: 91.94 kB / 2.508 GB, free: 79.97 MB / 0.6823 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 1.829/6.594, allocations: 463.1 MB / 2.961 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/6.594, allocations: 8.469 kB / 2.961 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/6.596, allocations: 187.4 kB / 2.961 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/6.599, allocations: 0.7024 MB / 2.962 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/6.6, allocations: 19.33 kB / 2.962 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/6.6, allocations: 28.84 kB / 2.962 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000884/6.601, allocations: 276.2 kB / 2.962 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/6.602, allocations: 372 kB / 2.962 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/6.602, allocations: 0 / 2.962 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/6.602, allocations: 1.406 kB / 2.962 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/6.602, allocations: 13.84 kB / 2.962 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/6.606, allocations: 1.903 MB / 2.964 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/6.607, allocations: 324.3 kB / 2.964 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/6.607, allocations: 136.3 kB / 2.965 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/6.608, allocations: 194.4 kB / 2.965 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/6.608, allocations: 41.23 kB / 2.965 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/6.608, allocations: 0 / 2.965 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001562/6.609, allocations: 403.8 kB / 2.965 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/6.609, allocations: 54.66 kB / 2.965 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/6.611, allocations: 0.6421 MB / 2.966 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/6.611, allocations: 31.8 kB / 2.966 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/6.611, allocations: 222.4 kB / 2.966 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/6.611, allocations: 99.38 kB / 2.966 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/6.611, allocations: 0 / 2.966 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/6.611, allocations: 316.8 kB / 2.966 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/6.611, allocations: 108.5 kB / 2.967 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/6.612, allocations: 281.2 kB / 2.967 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/6.612, allocations: 144.3 kB / 2.967 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/6.612, allocations: 0 / 2.967 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00101/6.613, allocations: 405.2 kB / 2.967 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/6.613, allocations: 282.3 kB / 2.968 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/6.613, allocations: 0 / 2.968 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/6.613, allocations: 27.94 kB / 2.968 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/6.614, allocations: 114.2 kB / 2.968 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007807/6.615, allocations: 1.173 MB / 2.969 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/6.616, allocations: 88.95 kB / 2.969 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/6.616, allocations: 18.23 kB / 2.969 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/6.616, allocations: 6 kB / 2.969 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006701/6.617, allocations: 278.4 kB / 2.969 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/6.617, allocations: 3.406 kB / 2.969 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/6.617, allocations: 44.08 kB / 2.969 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/6.618, allocations: 93.03 kB / 2.969 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/6.619, allocations: 1.401 MB / 2.971 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/6.62, allocations: 92.92 kB / 2.971 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/6.62, allocations: 18.53 kB / 2.971 GB, free: 145.1 MB / 0.6823 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.0001675/6.621, allocations: 115 kB / 2.971 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/6.621, allocations: 70.52 kB / 2.971 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/6.622, allocations: 400.3 kB / 2.971 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/6.622, allocations: 6.75 kB / 2.971 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/6.622, allocations: 0 / 2.971 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/6.622, allocations: 1.031 kB / 2.971 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/6.624, allocations: 1.136 MB / 2.973 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/6.624, allocations: 2.438 kB / 2.973 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/6.625, allocations: 74.2 kB / 2.973 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/6.625, allocations: 24.92 kB / 2.973 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/6.625, allocations: 12.83 kB / 2.973 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006017/6.626, allocations: 1.158 MB / 2.974 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/6.626, allocations: 5.469 kB / 2.974 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001337/6.627, allocations: 0.7294 MB / 2.974 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001853/6.629, allocations: 1.333 MB / 2.976 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/6.629, allocations: 212.1 kB / 2.976 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/6.63, allocations: 4 kB / 2.976 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009356/6.631, allocations: 55.2 kB / 2.976 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/6.631, allocations: 34.72 kB / 2.976 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/6.631, allocations: 16 kB / 2.976 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007436/6.631, allocations: 0.507 MB / 2.977 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003703/6.635, allocations: 0.6729 MB / 2.977 GB, free: 139.5 MB / 0.6823 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.002405/6.638, allocations: 1.406 MB / 2.979 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001548/6.639, allocations: 0.5681 MB / 2.979 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/6.639, allocations: 0 / 2.979 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/6.64, allocations: 159.7 kB / 2.979 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/6.641, allocations: 226 kB / 2.98 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/6.643, allocations: 0.9159 MB / 2.98 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/6.644, allocations: 1.029 MB / 2.981 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/6.644, allocations: 0 / 2.981 GB, free: 135.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)