Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001409/0.001409, allocations: 189.2 kB / 366.3 MB, free: 1.938 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.522/1.522, allocations: 205.2 MB / 0.6256 GB, free: 7.414 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.0009877/0.0009878, allocations: 93.42 kB / 0.7395 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2596/0.2606, allocations: 122.4 MB / 0.8591 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/1.004, allocations: 116.3 MB / 0.9726 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.657/5.662, allocations: 2.113 GB / 3.086 GB, free: 338.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/5.662, allocations: 84.91 kB / 3.086 GB, free: 338.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 5.616/11.28, allocations: 1.652 GB / 4.739 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/11.28, allocations: 8.906 kB / 4.739 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006684/11.28, allocations: 0.8888 MB / 4.74 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009003/11.29, allocations: 2.706 MB / 4.742 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/11.29, allocations: 41.97 kB / 4.742 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006461/11.29, allocations: 87.56 kB / 4.742 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003182/11.3, allocations: 1.239 MB / 4.744 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/11.3, allocations: 1.406 MB / 4.745 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/11.3, allocations: 3.406 kB / 4.745 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/11.3, allocations: 2.188 kB / 4.745 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-05/11.3, allocations: 47.02 kB / 4.745 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/11.31, allocations: 7.619 MB / 4.752 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/11.32, allocations: 0.8727 MB / 4.753 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/11.32, allocations: 0.536 MB / 4.754 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/11.32, allocations: 279.5 kB / 4.754 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/11.32, allocations: 43.47 kB / 4.754 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/11.32, allocations: 0 / 4.754 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.003832/11.32, allocations: 1.145 MB / 4.755 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/11.32, allocations: 62.5 kB / 4.755 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/11.32, allocations: 1.297 MB / 4.757 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/11.32, allocations: 25.7 kB / 4.757 GB, free: 123.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/11.32, allocations: 0.6201 MB / 4.757 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/11.32, allocations: 259.9 kB / 4.757 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/11.32, allocations: 0 / 4.757 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/11.32, allocations: 346.5 kB / 4.758 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/11.32, allocations: 355.2 kB / 4.758 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/11.32, allocations: 0.7647 MB / 4.759 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/11.33, allocations: 0.5188 MB / 4.759 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/11.33, allocations: 2.781 kB / 4.759 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003523/11.33, allocations: 1.345 MB / 4.761 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/11.33, allocations: 3.838 MB / 4.764 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/11.33, allocations: 9 kB / 4.764 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/11.33, allocations: 105.6 kB / 4.764 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/11.33, allocations: 271.5 kB / 4.765 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/11.33, allocations: 2.228 MB / 4.767 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/11.34, allocations: 163.7 kB / 4.767 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/11.34, allocations: 57.92 kB / 4.767 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/11.34, allocations: 3.906 kB / 4.767 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002786/11.34, allocations: 1.046 MB / 4.768 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/11.34, allocations: 16 kB / 4.768 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/11.34, allocations: 102.9 kB / 4.768 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/11.34, allocations: 243.6 kB / 4.769 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/11.34, allocations: 1.642 MB / 4.77 GB, free: 114.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/11.34, allocations: 141.4 kB / 4.77 GB, free: 114.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/11.35, allocations: 57.72 kB / 4.77 GB, free: 114.9 MB / 0.9948 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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000434/11.35, allocations: 135.2 kB / 4.77 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/11.35, allocations: 189.7 kB / 4.771 GB, free: 114.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/11.35, allocations: 1.098 MB / 4.772 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/11.35, allocations: 7.906 kB / 4.772 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/11.35, allocations: 4.25 kB / 4.772 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00198/11.35, allocations: 0.9163 MB / 4.773 GB, free: 114.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/11.36, allocations: 2.648 MB / 4.775 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/11.36, allocations: 0 / 4.775 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/11.36, allocations: 203.5 kB / 4.775 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/11.36, allocations: 92.5 kB / 4.775 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-05/11.36, allocations: 13.22 kB / 4.775 GB, free: 113.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/11.36, allocations: 2.221 MB / 4.778 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/11.36, allocations: 2.781 kB / 4.778 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003274/11.36, allocations: 1.683 MB / 4.779 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00473/11.37, allocations: 2.757 MB / 4.782 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/11.37, allocations: 354 kB / 4.782 GB, free: 109 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/11.37, allocations: 7.531 kB / 4.782 GB, free: 109 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/11.37, allocations: 107.8 kB / 4.782 GB, free: 109 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/11.37, allocations: 39.31 kB / 4.782 GB, free: 109 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/11.37, allocations: 37.73 kB / 4.782 GB, free: 109 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.00167/11.37, allocations: 0.9763 MB / 4.783 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008375/11.38, allocations: 2.301 MB / 4.786 GB, free: 107.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006025/11.39, allocations: 4.377 MB / 4.79 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003124/11.39, allocations: 1.695 MB / 4.792 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/11.39, allocations: 0 / 4.792 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007562/11.39, allocations: 0.512 MB / 4.792 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/11.4, allocations: 0.8448 MB / 4.793 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/11.4, allocations: 2.728 MB / 4.796 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/11.4, allocations: 1.779 MB / 4.797 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of SimCode: time 7.92e-07/11.4, allocations: 0 / 4.797 GB, free: 102.3 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)