Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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 9.1.1-maint.9.1.x/package.mo): time 2.063/2.063, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 184.3 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 93.47 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5268/0.5278, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.7654, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.005/4.77, allocations: 1.947 GB / 3.153 GB, free: 379.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/4.77, allocations: 95.48 kB / 3.153 GB, free: 379 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 2.648/7.418, allocations: 0.8141 GB / 3.967 GB, free: 224.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/7.418, allocations: 12.19 kB / 3.967 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/7.422, allocations: 0.5451 MB / 3.967 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/7.428, allocations: 1.892 MB / 3.969 GB, free: 223.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/7.428, allocations: 37.16 kB / 3.969 GB, free: 223.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/7.428, allocations: 64.41 kB / 3.969 GB, free: 223.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001826/7.43, allocations: 0.8751 MB / 3.97 GB, free: 223.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/7.432, allocations: 1.018 MB / 3.971 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/7.432, allocations: 3.906 kB / 3.971 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/7.432, allocations: 7.109 kB / 3.971 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/7.432, allocations: 36.69 kB / 3.971 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00754/7.44, allocations: 5.162 MB / 3.976 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/7.441, allocations: 0.7689 MB / 3.977 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/7.441, allocations: 442 kB / 3.978 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/7.442, allocations: 191.4 kB / 3.978 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005985/7.442, allocations: 454.7 kB / 3.978 GB, free: 221 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.986e-06/7.442, allocations: 0 / 3.978 GB, free: 221 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.002515/7.445, allocations: 0.9316 MB / 3.979 GB, free: 220.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/7.445, allocations: 114.2 kB / 3.979 GB, free: 220.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/7.446, allocations: 0.881 MB / 3.98 GB, free: 220.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/7.446, allocations: 25.7 kB / 3.98 GB, free: 220.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/7.447, allocations: 442.3 kB / 3.98 GB, free: 220.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/7.447, allocations: 247.6 kB / 3.981 GB, free: 220.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/7.447, allocations: 3.75 kB / 3.981 GB, free: 220.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/7.447, allocations: 337 kB / 3.981 GB, free: 220 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/7.447, allocations: 315.4 kB / 3.981 GB, free: 220 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/7.448, allocations: 0.5665 MB / 3.982 GB, free: 219.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008318/7.449, allocations: 417.3 kB / 3.982 GB, free: 219.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/7.449, allocations: 11 kB / 3.982 GB, free: 219.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00186/7.451, allocations: 1.048 MB / 3.983 GB, free: 219.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004222/7.451, allocations: 2.038 MB / 3.985 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/7.451, allocations: 6.75 kB / 3.985 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/7.452, allocations: 101.2 kB / 3.985 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/7.453, allocations: 226.3 kB / 3.986 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008141/7.454, allocations: 1.288 MB / 3.987 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/7.455, allocations: 138.9 kB / 3.987 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/7.455, allocations: 55.66 kB / 3.987 GB, free: 216.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/7.455, allocations: 3.781 kB / 3.987 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001736/7.457, allocations: 0.8535 MB / 3.988 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/7.457, allocations: 3.688 kB / 3.988 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/7.457, allocations: 104.8 kB / 3.988 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/7.458, allocations: 213.9 kB / 3.988 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/7.462, allocations: 2.635 MB / 3.991 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/7.464, allocations: 130.1 kB / 3.991 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/7.464, allocations: 43.38 kB / 3.991 GB, free: 214.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003162/7.464, allocations: 126.1 kB / 3.991 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/7.464, allocations: 133.2 kB / 3.991 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/7.467, allocations: 0.9064 MB / 3.992 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/7.467, allocations: 13.5 kB / 3.992 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/7.467, allocations: 3.75 kB / 3.992 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/7.468, allocations: 0.7909 MB / 3.993 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/7.472, allocations: 2.066 MB / 3.995 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/7.472, allocations: 0 / 3.995 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/7.472, allocations: 180.8 kB / 3.995 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/7.473, allocations: 65.75 kB / 3.995 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/7.473, allocations: 18.17 kB / 3.995 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005062/7.473, allocations: 1.206 MB / 3.996 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/7.473, allocations: 7.094 kB / 3.996 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002163/7.475, allocations: 1.39 MB / 3.998 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003661/7.479, allocations: 2.328 MB / 4 GB, free: 211.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/7.48, allocations: 294.9 kB / 4 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/7.481, allocations: 7.562 kB / 4 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/7.482, allocations: 88.48 kB / 4 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/7.482, allocations: 50.11 kB / 4 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/7.483, allocations: 29.45 kB / 4 GB, free: 211.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002657/7.485, allocations: 0.6745 MB / 4.001 GB, free: 211.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007302/7.493, allocations: 1.586 MB / 4.003 GB, free: 211.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005137/7.498, allocations: 2.868 MB / 4.005 GB, free: 210.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003126/7.501, allocations: 1.47 MB / 4.007 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/7.501, allocations: 0 / 4.007 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007563/7.502, allocations: 379.8 kB / 4.007 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/7.505, allocations: 0.549 MB / 4.008 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/7.51, allocations: 2.065 MB / 4.01 GB, free: 209.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/7.511, allocations: 1.434 MB / 4.011 GB, free: 209.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/7.511, allocations: 3.719 kB / 4.011 GB, free: 209.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)