Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_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.Validation.SpeedControlled_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_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.363/2.363, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001963/0.001963, allocations: 181.3 kB / 360.3 MB, free: 7.531 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.804/1.804, allocations: 205.1 MB / 0.6187 GB, free: 13.16 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.001248/0.001247, allocations: 96.78 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3095/0.3108, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.9722, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.926/5.898, allocations: 2.112 GB / 3.075 GB, free: 4.496 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004213/5.899, allocations: 89.7 kB / 3.075 GB, free: 4.453 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 7.853/13.75, allocations: 1.536 GB / 4.611 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/13.75, allocations: 9.562 kB / 4.611 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/13.76, allocations: 0.8959 MB / 4.612 GB, free: 123.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/13.78, allocations: 3.075 MB / 4.615 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/13.78, allocations: 48.97 kB / 4.615 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007631/13.78, allocations: 92.25 kB / 4.615 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006297/13.79, allocations: 1.342 MB / 4.616 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006277/13.8, allocations: 1.497 MB / 4.618 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-05/13.8, allocations: 3.969 kB / 4.618 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/13.8, allocations: 0 / 4.618 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/13.8, allocations: 48.39 kB / 4.618 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/13.82, allocations: 7.844 MB / 4.626 GB, free: 119.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/13.82, allocations: 0.9881 MB / 4.627 GB, free: 119.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/13.82, allocations: 0.6094 MB / 4.627 GB, free: 119.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004277/13.82, allocations: 277.5 kB / 4.627 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/13.82, allocations: 44.95 kB / 4.628 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=85): time 2.996e-06/13.82, allocations: 0 / 4.628 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=85): time 0.007846/13.83, allocations: 1.402 MB / 4.629 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/13.83, allocations: 58.28 kB / 4.629 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003417/13.83, allocations: 1.363 MB / 4.63 GB, free: 118.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003711/13.83, allocations: 31.8 kB / 4.63 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/13.83, allocations: 0.6261 MB / 4.631 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/13.83, allocations: 284.1 kB / 4.631 GB, free: 118 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/13.83, allocations: 0 / 4.631 GB, free: 118 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001133/13.83, allocations: 350.9 kB / 4.632 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/13.84, allocations: 420.8 kB / 4.632 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/13.84, allocations: 0.8496 MB / 4.633 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/13.84, allocations: 0.5922 MB / 4.633 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/13.84, allocations: 3.719 kB / 4.633 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.007364/13.85, allocations: 1.648 MB / 4.635 GB, free: 117 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009098/13.85, allocations: 3.844 MB / 4.639 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.806e-05/13.85, allocations: 12.55 kB / 4.639 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/13.85, allocations: 304.8 kB / 4.639 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/13.85, allocations: 254 kB / 4.639 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/13.86, allocations: 3.644 MB / 4.643 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/13.86, allocations: 171.8 kB / 4.643 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/13.86, allocations: 86.53 kB / 4.643 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/13.86, allocations: 3.625 kB / 4.643 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006237/13.87, allocations: 1.325 MB / 4.644 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.185e-05/13.87, allocations: 11.16 kB / 4.644 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/13.87, allocations: 310.8 kB / 4.645 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/13.87, allocations: 233.2 kB / 4.645 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/13.88, allocations: 4.94 MB / 4.65 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/13.89, allocations: 147 kB / 4.65 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/13.89, allocations: 68.19 kB / 4.65 GB, free: 106.7 MB / 0.9792 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 (118): * Single equations (assignments): 112 * 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: 3 * 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: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005354/13.89, allocations: 145.4 kB / 4.65 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006844/13.89, allocations: 195.2 kB / 4.65 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00681/13.89, allocations: 1.397 MB / 4.652 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/13.89, allocations: 11.34 kB / 4.652 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/13.89, allocations: 3.688 kB / 4.652 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004874/13.9, allocations: 1.167 MB / 4.653 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/13.91, allocations: 2.912 MB / 4.656 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/13.91, allocations: 0 / 4.656 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/13.91, allocations: 194.4 kB / 4.656 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/13.92, allocations: 219.8 kB / 4.656 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/13.92, allocations: 18.23 kB / 4.656 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004418/13.92, allocations: 3.478 MB / 4.659 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/13.92, allocations: 3.5 kB / 4.659 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007935/13.93, allocations: 1.994 MB / 4.661 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0125/13.94, allocations: 3.137 MB / 4.664 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/13.94, allocations: 361.6 kB / 4.665 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009973/13.94, allocations: 9.031 kB / 4.665 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004433/13.95, allocations: 102.7 kB / 4.665 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/13.95, allocations: 58.67 kB / 4.665 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/13.95, allocations: 41.69 kB / 4.665 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003571/13.95, allocations: 1.028 MB / 4.666 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0179/13.97, allocations: 2.456 MB / 4.668 GB, free: 101.1 MB / 0.9792 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 (73): * Single equations (assignments): 69 * 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: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01146/13.98, allocations: 4.682 MB / 4.673 GB, free: 99.36 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009019/13.99, allocations: 2.079 MB / 4.675 GB, free: 99.03 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/13.99, allocations: 0 / 4.675 GB, free: 99.03 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/13.99, allocations: 0.5966 MB / 4.676 GB, free: 98.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01085/14.01, allocations: 0.8703 MB / 4.676 GB, free: 98.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/14.02, allocations: 2.897 MB / 4.679 GB, free: 98.18 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006138/14.03, allocations: 1.815 MB / 4.681 GB, free: 97.44 MB / 0.9792 GB Notification: Performance of SimCode: time 1.403e-06/14.03, allocations: 0 / 4.681 GB, free: 97.44 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)