Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_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.Validation.SpeedControlled_y,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.272/1.272, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.001022/0.001022, allocations: 184.3 kB / 316 MB, free: 3.574 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.366/1.366, allocations: 205.1 MB / 0.5667 GB, free: 15.73 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.0009012/0.0009011, allocations: 91.31 kB / 0.671 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3873/0.3883, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.5762, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.772/4.349, allocations: 2.231 GB / 3.116 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/4.349, allocations: 91.91 kB / 3.116 GB, free: 147.5 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 3.962/8.311, allocations: 1.49 GB / 4.606 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/8.311, allocations: 15.94 kB / 4.606 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/8.317, allocations: 0.8825 MB / 4.607 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006492/8.324, allocations: 3.085 MB / 4.61 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/8.324, allocations: 52 kB / 4.61 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/8.324, allocations: 92 kB / 4.61 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00221/8.326, allocations: 1.337 MB / 4.611 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/8.328, allocations: 1.497 MB / 4.613 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/8.328, allocations: 11.92 kB / 4.613 GB, free: 1.035 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/8.328, allocations: 0 / 4.613 GB, free: 1.035 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/8.328, allocations: 50.69 kB / 4.613 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/8.339, allocations: 7.839 MB / 4.621 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/8.341, allocations: 0.9928 MB / 4.622 GB, free: 7.602 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000892/8.342, allocations: 0.6045 MB / 4.622 GB, free: 6.996 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/8.342, allocations: 280 kB / 4.622 GB, free: 6.668 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/8.342, allocations: 43.34 kB / 4.622 GB, free: 6.617 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=85): time 2.444e-06/8.342, allocations: 0 / 4.622 GB, free: 6.617 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85): time 0.004119/8.346, allocations: 1.393 MB / 4.624 GB, free: 5.199 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/8.346, allocations: 60.19 kB / 4.624 GB, free: 5.129 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/8.348, allocations: 1.371 MB / 4.625 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/8.348, allocations: 29.7 kB / 4.625 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00045/8.349, allocations: 0.6325 MB / 4.626 GB, free: 3.043 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/8.349, allocations: 283.7 kB / 4.626 GB, free: 2.762 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/8.349, allocations: 0 / 4.626 GB, free: 2.762 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001703/8.349, allocations: 349.8 kB / 4.626 GB, free: 2.414 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/8.35, allocations: 422.5 kB / 4.627 GB, free: 2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008661/8.351, allocations: 0.8458 MB / 4.628 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/8.352, allocations: 0.5927 MB / 4.628 GB, free: 356 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/8.352, allocations: 0 / 4.628 GB, free: 356 kB / 0.9323 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.3626/8.715, allocations: 1.633 MB / 4.63 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005527/8.715, allocations: 3.847 MB / 4.634 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/8.715, allocations: 10.84 kB / 4.634 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008778/8.716, allocations: 307.9 kB / 4.634 GB, free: 135.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/8.717, allocations: 255.6 kB / 4.634 GB, free: 135.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/8.721, allocations: 3.636 MB / 4.638 GB, free: 132.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/8.722, allocations: 169.4 kB / 4.638 GB, free: 132.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/8.723, allocations: 84.72 kB / 4.638 GB, free: 132.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/8.723, allocations: 8.219 kB / 4.638 GB, free: 132.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003149/8.726, allocations: 1.328 MB / 4.639 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/8.726, allocations: 9.406 kB / 4.639 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/8.727, allocations: 304.2 kB / 4.64 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/8.728, allocations: 236.6 kB / 4.64 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/8.733, allocations: 4.932 MB / 4.645 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/8.735, allocations: 149.7 kB / 4.645 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/8.735, allocations: 66.14 kB / 4.645 GB, free: 129 MB / 0.9323 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.0003759/8.736, allocations: 146 kB / 4.645 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/8.736, allocations: 197.6 kB / 4.645 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/8.739, allocations: 1.399 MB / 4.646 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/8.739, allocations: 9.125 kB / 4.646 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/8.739, allocations: 0 / 4.646 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002391/8.742, allocations: 1.165 MB / 4.648 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/8.747, allocations: 2.897 MB / 4.65 GB, free: 128 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/8.747, allocations: 3.812 kB / 4.65 GB, free: 128 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009723/8.748, allocations: 193.1 kB / 4.651 GB, free: 128 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005827/8.749, allocations: 231.2 kB / 4.651 GB, free: 128 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/8.749, allocations: 14 kB / 4.651 GB, free: 128 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/8.751, allocations: 3.461 MB / 4.654 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/8.751, allocations: 3.812 kB / 4.654 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003345/8.755, allocations: 1.988 MB / 4.656 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004615/8.759, allocations: 3.123 MB / 4.659 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009355/8.76, allocations: 380.4 kB / 4.66 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/8.761, allocations: 7.781 kB / 4.66 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/8.762, allocations: 104.1 kB / 4.66 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/8.762, allocations: 57.5 kB / 4.66 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/8.762, allocations: 38.45 kB / 4.66 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001438/8.763, allocations: 1.038 MB / 4.661 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006985/8.77, allocations: 2.438 MB / 4.663 GB, free: 123.5 MB / 0.9323 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.00477/8.775, allocations: 4.663 MB / 4.668 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003308/8.778, allocations: 2.08 MB / 4.67 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/8.778, allocations: 2.75 kB / 4.67 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008431/8.779, allocations: 0.5865 MB / 4.67 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/8.783, allocations: 0.8792 MB / 4.671 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/8.788, allocations: 2.894 MB / 4.674 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/8.79, allocations: 1.822 MB / 4.676 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.382e-06/8.79, allocations: 2.875 kB / 4.676 GB, free: 119.9 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)