Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.35/2.35, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001664/0.001663, allocations: 181.2 kB / 360.3 MB, free: 7.578 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.884/1.884, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001279/0.001279, allocations: 89.22 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2878/0.2892, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.9471, allocations: 115.2 MB / 0.9627 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.378/6.325, allocations: 2.115 GB / 3.078 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004344/6.325, allocations: 89.48 kB / 3.078 GB, free: 257.2 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 3.887/10.21, allocations: 0.8062 GB / 3.884 GB, free: 171.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/10.21, allocations: 8.312 kB / 3.884 GB, free: 171.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/10.22, allocations: 462.9 kB / 3.884 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/10.23, allocations: 1.9 MB / 3.886 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/10.23, allocations: 30.41 kB / 3.886 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007766/10.23, allocations: 66.25 kB / 3.886 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004648/10.23, allocations: 0.857 MB / 3.887 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/10.24, allocations: 1.046 MB / 3.888 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/10.24, allocations: 3.25 kB / 3.888 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/10.24, allocations: 3.891 kB / 3.888 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/10.24, allocations: 35.06 kB / 3.888 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/10.25, allocations: 5.013 MB / 3.893 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/10.25, allocations: 0.7559 MB / 3.894 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/10.25, allocations: 431.6 kB / 3.894 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/10.25, allocations: 191.6 kB / 3.895 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/10.26, allocations: 449.4 kB / 3.895 GB, free: 167.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.496e-06/10.26, allocations: 0 / 3.895 GB, free: 167.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.004443/10.26, allocations: 0.9124 MB / 3.896 GB, free: 167.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/10.26, allocations: 192.8 kB / 3.896 GB, free: 167.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/10.26, allocations: 0.9045 MB / 3.897 GB, free: 166.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003374/10.26, allocations: 28.61 kB / 3.897 GB, free: 166.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/10.26, allocations: 445 kB / 3.897 GB, free: 166.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/10.26, allocations: 237.9 kB / 3.898 GB, free: 166.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/10.26, allocations: 0 / 3.898 GB, free: 166.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001166/10.26, allocations: 340.5 kB / 3.898 GB, free: 165.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/10.27, allocations: 320.5 kB / 3.898 GB, free: 165.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/10.27, allocations: 0.598 MB / 3.899 GB, free: 165.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/10.27, allocations: 430.2 kB / 3.899 GB, free: 165.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.669e-06/10.27, allocations: 1.375 kB / 3.899 GB, free: 165.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003847/10.27, allocations: 1.077 MB / 3.9 GB, free: 164.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006184/10.27, allocations: 2.034 MB / 3.902 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/10.27, allocations: 10.69 kB / 3.902 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006803/10.27, allocations: 104.8 kB / 3.902 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/10.28, allocations: 205.7 kB / 3.903 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/10.28, allocations: 1.289 MB / 3.904 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/10.28, allocations: 130.8 kB / 3.904 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/10.28, allocations: 55.23 kB / 3.904 GB, free: 161.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/10.28, allocations: 6.031 kB / 3.904 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005679/10.29, allocations: 0.8638 MB / 3.905 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.359e-05/10.29, allocations: 14.02 kB / 3.905 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/10.29, allocations: 101.5 kB / 3.905 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/10.29, allocations: 192.9 kB / 3.905 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/10.3, allocations: 2.631 MB / 3.908 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/10.31, allocations: 110.5 kB / 3.908 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/10.31, allocations: 46.56 kB / 3.908 GB, free: 159.1 MB / 0.948 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 (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0005654/10.31, allocations: 134 kB / 3.908 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/10.31, allocations: 133.9 kB / 3.908 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/10.31, allocations: 0.8876 MB / 3.909 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/10.31, allocations: 7.844 kB / 3.909 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/10.31, allocations: 0 / 3.909 GB, free: 158.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003796/10.32, allocations: 0.7861 MB / 3.91 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/10.33, allocations: 2.035 MB / 3.912 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/10.33, allocations: 0.8125 kB / 3.912 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/10.33, allocations: 176 kB / 3.912 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/10.33, allocations: 58.77 kB / 3.912 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/10.33, allocations: 11.12 kB / 3.912 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/10.33, allocations: 1.219 MB / 3.913 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/10.33, allocations: 1.062 kB / 3.913 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00605/10.34, allocations: 1.408 MB / 3.915 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008935/10.35, allocations: 2.326 MB / 3.917 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/10.35, allocations: 290.5 kB / 3.917 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008009/10.35, allocations: 9 kB / 3.917 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/10.35, allocations: 82.03 kB / 3.917 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/10.35, allocations: 47.44 kB / 3.917 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/10.35, allocations: 27.22 kB / 3.917 GB, free: 153.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002893/10.36, allocations: 0.685 MB / 3.918 GB, free: 153.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01392/10.37, allocations: 1.657 MB / 3.92 GB, free: 152.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[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 (68): * Single equations (assignments): 64 * 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.007895/10.38, allocations: 2.901 MB / 3.922 GB, free: 151.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006188/10.39, allocations: 1.534 MB / 3.924 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/10.39, allocations: 1.906 kB / 3.924 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/10.39, allocations: 385.2 kB / 3.924 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007333/10.39, allocations: 0.5573 MB / 3.925 GB, free: 150.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/10.41, allocations: 2.056 MB / 3.927 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003712/10.41, allocations: 1.441 MB / 3.928 GB, free: 148.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.723e-06/10.41, allocations: 3.828 kB / 3.928 GB, free: 148.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)