Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.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.Validation.Pump_stratos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_Pump_stratos",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.188/1.188, allocations: 249.4 MB / 256.7 MB, free: 15.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 176.3 kB / 316 MB, free: 7.25 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.292/1.292, allocations: 205.1 MB / 0.5667 GB, free: 23.58 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.0008389/0.0008389, allocations: 83.38 kB / 0.671 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2135/0.2144, allocations: 112.5 MB / 0.7808 GB, free: 344 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.637, allocations: 106.3 MB / 0.8846 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.011/4.648, allocations: 2.479 GB / 3.364 GB, free: 17.45 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/4.648, allocations: 96.69 kB / 3.364 GB, free: 17.35 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 2.612/7.261, allocations: 0.8601 GB / 4.224 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/7.261, allocations: 9.625 kB / 4.224 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/7.264, allocations: 0.5706 MB / 4.225 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03741/7.301, allocations: 17.46 MB / 4.242 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/7.301, allocations: 37.72 kB / 4.242 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/7.302, allocations: 80.97 kB / 4.242 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001898/7.304, allocations: 1.245 MB / 4.243 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/7.306, allocations: 1.382 MB / 4.244 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/7.306, allocations: 7.312 kB / 4.244 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/7.306, allocations: 2.156 kB / 4.244 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/7.306, allocations: 31.5 kB / 4.244 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/7.317, allocations: 8.369 MB / 4.252 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/7.319, allocations: 1.157 MB / 4.254 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/7.32, allocations: 0.6635 MB / 4.254 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004653/7.324, allocations: 3.047 MB / 4.257 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/7.324, allocations: 38.69 kB / 4.257 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 2.255e-06/7.324, allocations: 3.031 kB / 4.257 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.00393/7.328, allocations: 1.767 MB / 4.259 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/7.328, allocations: 57.88 kB / 4.259 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/7.334, allocations: 2.797 MB / 4.262 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003325/7.334, allocations: 27.3 kB / 4.262 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/7.335, allocations: 0.6716 MB / 4.262 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/7.335, allocations: 209.6 kB / 4.263 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/7.335, allocations: 0 / 4.263 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/7.335, allocations: 354.2 kB / 4.263 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008834/7.336, allocations: 0.6001 MB / 4.264 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/7.337, allocations: 1.168 MB / 4.265 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/7.339, allocations: 0.8374 MB / 4.266 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/7.339, allocations: 7.125 kB / 4.266 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004082/7.343, allocations: 2.223 MB / 4.268 GB, free: 101 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001059/7.344, allocations: 6.168 MB / 4.274 GB, free: 94.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/7.344, allocations: 16 kB / 4.274 GB, free: 94.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/7.345, allocations: 492.3 kB / 4.274 GB, free: 93.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/7.346, allocations: 230.4 kB / 4.274 GB, free: 93.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/7.348, allocations: 2.595 MB / 4.277 GB, free: 91.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/7.351, allocations: 186.3 kB / 4.277 GB, free: 90.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/7.351, allocations: 120 kB / 4.277 GB, free: 90.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/7.351, allocations: 4 kB / 4.277 GB, free: 90.75 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003429/7.355, allocations: 1.751 MB / 4.279 GB, free: 89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/7.355, allocations: 12 kB / 4.279 GB, free: 88.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/7.356, allocations: 0.5856 MB / 4.28 GB, free: 88.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/7.357, allocations: 226.3 kB / 4.28 GB, free: 88.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/7.367, allocations: 7.934 MB / 4.288 GB, free: 80.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/7.369, allocations: 151.2 kB / 4.288 GB, free: 80.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/7.369, allocations: 104 kB / 4.288 GB, free: 79.93 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000402/7.37, allocations: 152.5 kB / 4.288 GB, free: 79.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/7.37, allocations: 244.8 kB / 4.288 GB, free: 79.53 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/7.374, allocations: 1.686 MB / 4.29 GB, free: 77.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/7.374, allocations: 8 kB / 4.29 GB, free: 77.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/7.374, allocations: 0 / 4.29 GB, free: 77.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001879/7.376, allocations: 1.359 MB / 4.291 GB, free: 76.47 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/7.382, allocations: 3.616 MB / 4.295 GB, free: 72.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/7.382, allocations: 0 / 4.295 GB, free: 72.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/7.383, allocations: 127.1 kB / 4.295 GB, free: 72.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/7.383, allocations: 244.7 kB / 4.295 GB, free: 72.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/7.383, allocations: 15.98 kB / 4.295 GB, free: 72.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/7.385, allocations: 2.041 MB / 4.297 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/7.385, allocations: 0 / 4.297 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003661/7.388, allocations: 2.111 MB / 4.299 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004089/7.392, allocations: 3.149 MB / 4.302 GB, free: 64.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/7.393, allocations: 0.5625 MB / 4.303 GB, free: 64.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/7.394, allocations: 4 kB / 4.303 GB, free: 64.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/7.395, allocations: 90.44 kB / 4.303 GB, free: 64.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/7.395, allocations: 52.48 kB / 4.303 GB, free: 64.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/7.395, allocations: 43.97 kB / 4.303 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002653/7.398, allocations: 2.09 MB / 4.305 GB, free: 62.12 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005879/7.404, allocations: 1.637 MB / 4.307 GB, free: 60.48 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002093/7.406, allocations: 1.313 MB / 4.308 GB, free: 59.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003463/7.409, allocations: 2.422 MB / 4.31 GB, free: 56.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/7.409, allocations: 0 / 4.31 GB, free: 56.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006786/7.41, allocations: 489.8 kB / 4.311 GB, free: 56.49 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004958/7.415, allocations: 1.135 MB / 4.312 GB, free: 55.49 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/7.421, allocations: 3.34 MB / 4.315 GB, free: 52.14 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/7.423, allocations: 2.076 MB / 4.317 GB, free: 50.07 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/7.423, allocations: 0 / 4.317 GB, free: 50.07 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_Pump_stratos.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)