Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.444/1.444, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.001087/0.001087, allocations: 189.2 kB / 361.1 MB, free: 7.07 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.315/1.315, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000819/0.000819, allocations: 92.45 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2334/0.2343, allocations: 121.4 MB / 0.8511 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.789, allocations: 115.3 MB / 0.9637 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.419/4.208, allocations: 2.112 GB / 3.076 GB, free: 338.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/4.208, allocations: 89.23 kB / 3.076 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 4.28/8.488, allocations: 1.536 GB / 4.612 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/8.488, allocations: 11.69 kB / 4.612 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006043/8.494, allocations: 0.9072 MB / 4.613 GB, free: 126.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007346/8.501, allocations: 3.065 MB / 4.616 GB, free: 126 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/8.501, allocations: 44.44 kB / 4.616 GB, free: 126 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/8.502, allocations: 94.78 kB / 4.616 GB, free: 126 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002328/8.504, allocations: 1.341 MB / 4.618 GB, free: 126 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/8.506, allocations: 1.494 MB / 4.619 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/8.506, allocations: 5.969 kB / 4.619 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/8.506, allocations: 0 / 4.619 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/8.506, allocations: 53.95 kB / 4.619 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/8.518, allocations: 7.84 MB / 4.627 GB, free: 122 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/8.519, allocations: 0.9884 MB / 4.628 GB, free: 122 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008482/8.52, allocations: 0.5967 MB / 4.628 GB, free: 122 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/8.521, allocations: 282.5 kB / 4.629 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/8.521, allocations: 47.44 kB / 4.629 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=85): time 2.335e-06/8.521, allocations: 1.594 kB / 4.629 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=85): time 0.003978/8.525, allocations: 1.409 MB / 4.63 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/8.525, allocations: 59.53 kB / 4.63 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/8.526, allocations: 1.359 MB / 4.631 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/8.527, allocations: 29.02 kB / 4.631 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/8.527, allocations: 0.6314 MB / 4.632 GB, free: 120.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/8.527, allocations: 284.9 kB / 4.632 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/8.527, allocations: 0 / 4.632 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/8.527, allocations: 354.3 kB / 4.633 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/8.528, allocations: 418.2 kB / 4.633 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/8.528, allocations: 0.8517 MB / 4.634 GB, free: 119.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/8.53, allocations: 0.5899 MB / 4.635 GB, free: 119.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/8.53, allocations: 3.688 kB / 4.635 GB, free: 119.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003371/8.533, allocations: 1.637 MB / 4.636 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000533/8.534, allocations: 3.85 MB / 4.64 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/8.534, allocations: 10.62 kB / 4.64 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008739/8.534, allocations: 311.1 kB / 4.64 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/8.536, allocations: 254.3 kB / 4.64 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/8.539, allocations: 3.64 MB / 4.644 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/8.54, allocations: 175.7 kB / 4.644 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/8.54, allocations: 80.8 kB / 4.644 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/8.54, allocations: 3.594 kB / 4.644 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003138/8.544, allocations: 1.334 MB / 4.646 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/8.544, allocations: 10.88 kB / 4.646 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/8.545, allocations: 306.4 kB / 4.646 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008703/8.546, allocations: 234.6 kB / 4.646 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/8.551, allocations: 4.951 MB / 4.651 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/8.553, allocations: 140.5 kB / 4.651 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/8.553, allocations: 64.58 kB / 4.651 GB, free: 109.4 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.0002928/8.553, allocations: 147.2 kB / 4.651 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/8.553, allocations: 195.4 kB / 4.651 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/8.557, allocations: 1.399 MB / 4.653 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/8.557, allocations: 15.05 kB / 4.653 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/8.557, allocations: 0 / 4.653 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002378/8.559, allocations: 1.165 MB / 4.654 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/8.565, allocations: 2.909 MB / 4.657 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/8.565, allocations: 3.391 kB / 4.657 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000978/8.566, allocations: 191.5 kB / 4.657 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005813/8.567, allocations: 216.1 kB / 4.657 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.117e-05/8.567, allocations: 23.11 kB / 4.657 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/8.569, allocations: 3.476 MB / 4.661 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/8.569, allocations: 7.031 kB / 4.661 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004119/8.573, allocations: 1.99 MB / 4.663 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005015/8.578, allocations: 3.138 MB / 4.666 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/8.58, allocations: 365 kB / 4.666 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005432/8.58, allocations: 6.656 kB / 4.666 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/8.582, allocations: 109.2 kB / 4.666 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/8.582, allocations: 48.19 kB / 4.666 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-05/8.582, allocations: 43.06 kB / 4.666 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001764/8.584, allocations: 1.024 MB / 4.667 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008605/8.592, allocations: 2.471 MB / 4.67 GB, free: 103.7 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.006458/8.599, allocations: 4.68 MB / 4.674 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004488/8.603, allocations: 2.082 MB / 4.676 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/8.603, allocations: 3.25 kB / 4.676 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/8.604, allocations: 0.5941 MB / 4.677 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/8.609, allocations: 0.8744 MB / 4.678 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/8.615, allocations: 2.893 MB / 4.68 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/8.617, allocations: 1.813 MB / 4.682 GB, free: 99.99 MB / 0.9792 GB Notification: Performance of SimCode: time 8.81e-07/8.617, allocations: 0 / 4.682 GB, free: 99.99 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)