Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 184.5 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008918/0.0008919, allocations: 101.1 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3496/0.3505, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.4962, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.868/4.364, allocations: 2.234 GB / 3.119 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/4.364, allocations: 91.95 kB / 3.119 GB, free: 162.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 2.087/6.451, allocations: 0.7837 GB / 3.903 GB, free: 24.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/6.451, allocations: 11.98 kB / 3.903 GB, free: 24.58 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/6.454, allocations: 457.3 kB / 3.903 GB, free: 24.13 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/6.458, allocations: 1.905 MB / 3.905 GB, free: 22.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/6.458, allocations: 32 kB / 3.905 GB, free: 22.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/6.458, allocations: 71.89 kB / 3.905 GB, free: 22.08 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001459/6.459, allocations: 0.8669 MB / 3.906 GB, free: 21.21 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/6.461, allocations: 1.053 MB / 3.907 GB, free: 20.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/6.461, allocations: 7.938 kB / 3.907 GB, free: 20.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.831e-05/6.461, allocations: 0 / 3.907 GB, free: 20.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/6.461, allocations: 34 kB / 3.907 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005585/6.467, allocations: 5.014 MB / 3.912 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/6.468, allocations: 0.7664 MB / 3.913 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/6.468, allocations: 443 kB / 3.913 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/6.468, allocations: 182.8 kB / 3.914 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000536/6.469, allocations: 451 kB / 3.914 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 1.994e-06/6.469, allocations: 0 / 3.914 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.002185/6.471, allocations: 0.9133 MB / 3.915 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/6.471, allocations: 196.6 kB / 3.915 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/6.472, allocations: 0.902 MB / 3.916 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/6.472, allocations: 29.7 kB / 3.916 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/6.472, allocations: 445 kB / 3.916 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/6.473, allocations: 236.4 kB / 3.917 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/6.473, allocations: 4 kB / 3.917 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/6.473, allocations: 337.9 kB / 3.917 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/6.473, allocations: 313.9 kB / 3.917 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/6.474, allocations: 0.5937 MB / 3.918 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/6.474, allocations: 426.8 kB / 3.918 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/6.474, allocations: 6.188 kB / 3.918 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001617/6.476, allocations: 1.072 MB / 3.919 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003597/6.476, allocations: 2.034 MB / 3.921 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/6.476, allocations: 12 kB / 3.921 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/6.477, allocations: 104.7 kB / 3.921 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009114/6.478, allocations: 207.7 kB / 3.922 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007644/6.478, allocations: 1.291 MB / 3.923 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/6.48, allocations: 131.2 kB / 3.923 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/6.48, allocations: 47.98 kB / 3.923 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/6.48, allocations: 10.5 kB / 3.923 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00171/6.482, allocations: 0.8649 MB / 3.924 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/6.482, allocations: 7.984 kB / 3.924 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/6.482, allocations: 113 kB / 3.924 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/6.483, allocations: 191.8 kB / 3.924 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/6.487, allocations: 2.64 MB / 3.927 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/6.488, allocations: 109.1 kB / 3.927 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/6.488, allocations: 44.05 kB / 3.927 GB, free: 15.05 MB / 0.8855 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.0002375/6.488, allocations: 140.6 kB / 3.927 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/6.488, allocations: 126.4 kB / 3.927 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/6.49, allocations: 0.8806 MB / 3.928 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/6.49, allocations: 11.98 kB / 3.928 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/6.49, allocations: 0 / 3.928 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/6.492, allocations: 0.7805 MB / 3.929 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/6.495, allocations: 2.04 MB / 3.931 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/6.495, allocations: 3.938 kB / 3.931 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009357/6.496, allocations: 175.9 kB / 3.931 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/6.496, allocations: 56.83 kB / 3.931 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/6.496, allocations: 11.98 kB / 3.931 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006855/6.497, allocations: 1.216 MB / 3.932 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/6.497, allocations: 0 / 3.932 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002099/6.499, allocations: 1.402 MB / 3.934 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00319/6.502, allocations: 2.313 MB / 3.936 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/6.503, allocations: 295.2 kB / 3.936 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/6.503, allocations: 19.92 kB / 3.936 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/6.504, allocations: 80.02 kB / 3.936 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/6.504, allocations: 44.58 kB / 3.936 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.93e-05/6.504, allocations: 35.98 kB / 3.936 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0009734/6.505, allocations: 0.6854 MB / 3.937 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00489/6.51, allocations: 1.654 MB / 3.939 GB, free: 2.758 MB / 0.8855 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.2868/6.797, allocations: 2.902 MB / 3.941 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0027/6.8, allocations: 1.53 MB / 3.943 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/6.8, allocations: 3.844 kB / 3.943 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/6.8, allocations: 378.8 kB / 3.943 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/6.803, allocations: 0.5573 MB / 3.944 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/6.806, allocations: 2.05 MB / 3.946 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/6.807, allocations: 1.453 MB / 3.947 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of SimCode: time 6.51e-07/6.807, allocations: 0 / 3.947 GB, free: 223.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)