Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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.SpeedControlled_y,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001392/0.001392, allocations: 181.2 kB / 366.3 MB, free: 1.945 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.571/1.571, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009893/0.0009893, allocations: 86.22 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2712/0.2723, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.9942, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.611/5.606, allocations: 2.113 GB / 3.086 GB, free: 343.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.606, allocations: 87.11 kB / 3.086 GB, free: 343.4 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 5.149/10.75, allocations: 1.536 GB / 4.622 GB, free: 139.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/10.75, allocations: 13.81 kB / 4.622 GB, free: 139.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005779/10.76, allocations: 0.8999 MB / 4.623 GB, free: 139.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007833/10.77, allocations: 3.071 MB / 4.626 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/10.77, allocations: 51 kB / 4.626 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/10.77, allocations: 92.7 kB / 4.626 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002654/10.77, allocations: 1.34 MB / 4.627 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/10.77, allocations: 1.499 MB / 4.629 GB, free: 138.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/10.77, allocations: 3.656 kB / 4.629 GB, free: 138.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/10.77, allocations: 0 / 4.629 GB, free: 138.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/10.77, allocations: 51.98 kB / 4.629 GB, free: 138.5 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/10.79, allocations: 7.832 MB / 4.637 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/10.79, allocations: 0.9937 MB / 4.638 GB, free: 134.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008571/10.79, allocations: 0.6017 MB / 4.638 GB, free: 134.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/10.79, allocations: 280 kB / 4.638 GB, free: 134.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/10.79, allocations: 43.06 kB / 4.639 GB, free: 134.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=85): time 4.368e-06/10.79, allocations: 0 / 4.639 GB, free: 134.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.004257/10.79, allocations: 1.404 MB / 4.64 GB, free: 134.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/10.79, allocations: 59.81 kB / 4.64 GB, free: 134.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/10.79, allocations: 1.363 MB / 4.641 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/10.79, allocations: 29.39 kB / 4.641 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/10.79, allocations: 0.633 MB / 4.642 GB, free: 133.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/10.8, allocations: 284.5 kB / 4.642 GB, free: 133.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/10.8, allocations: 0 / 4.642 GB, free: 133.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001013/10.8, allocations: 348.7 kB / 4.643 GB, free: 133.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/10.8, allocations: 420.3 kB / 4.643 GB, free: 133.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/10.8, allocations: 0.8482 MB / 4.644 GB, free: 132.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/10.8, allocations: 0.5944 MB / 4.644 GB, free: 132.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/10.8, allocations: 3.969 kB / 4.644 GB, free: 132.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003681/10.8, allocations: 1.646 MB / 4.646 GB, free: 132.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007529/10.8, allocations: 3.85 MB / 4.65 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/10.8, allocations: 14.09 kB / 4.65 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009616/10.8, allocations: 305.2 kB / 4.65 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/10.8, allocations: 256.4 kB / 4.65 GB, free: 128.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/10.81, allocations: 3.634 MB / 4.654 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/10.81, allocations: 172.3 kB / 4.654 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/10.81, allocations: 80.97 kB / 4.654 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.864e-06/10.81, allocations: 3.938 kB / 4.654 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003463/10.81, allocations: 1.332 MB / 4.655 GB, free: 125.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/10.81, allocations: 6.594 kB / 4.655 GB, free: 125.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/10.82, allocations: 323.5 kB / 4.656 GB, free: 125.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000909/10.82, allocations: 229.3 kB / 4.656 GB, free: 125.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/10.82, allocations: 4.952 MB / 4.661 GB, free: 122 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/10.82, allocations: 141.5 kB / 4.661 GB, free: 122 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/10.82, allocations: 69.59 kB / 4.661 GB, free: 122 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 (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.0005219/10.83, allocations: 141.8 kB / 4.661 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/10.83, allocations: 196.6 kB / 4.661 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/10.83, allocations: 1.395 MB / 4.663 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/10.83, allocations: 10.38 kB / 4.663 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/10.83, allocations: 0 / 4.663 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/10.83, allocations: 1.171 MB / 4.664 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006077/10.84, allocations: 2.909 MB / 4.667 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/10.84, allocations: 0 / 4.667 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/10.84, allocations: 188.3 kB / 4.667 GB, free: 121 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006609/10.84, allocations: 229.6 kB / 4.667 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/10.84, allocations: 18.41 kB / 4.667 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/10.84, allocations: 3.474 MB / 4.67 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/10.84, allocations: 4.688 kB / 4.67 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004205/10.85, allocations: 1.997 MB / 4.672 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006431/10.85, allocations: 3.128 MB / 4.675 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/10.85, allocations: 368.4 kB / 4.676 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000803/10.86, allocations: 3.938 kB / 4.676 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/10.86, allocations: 107.2 kB / 4.676 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/10.86, allocations: 48.19 kB / 4.676 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/10.86, allocations: 49.28 kB / 4.676 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0032/10.86, allocations: 1.028 MB / 4.677 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00934/10.87, allocations: 2.462 MB / 4.679 GB, free: 116.3 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 (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.00615/10.88, allocations: 4.685 MB / 4.684 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003982/10.88, allocations: 2.078 MB / 4.686 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/10.88, allocations: 0 / 4.686 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/10.88, allocations: 0.5985 MB / 4.687 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/10.89, allocations: 0.879 MB / 4.687 GB, free: 114 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/10.89, allocations: 2.887 MB / 4.69 GB, free: 113.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/10.89, allocations: 1.824 MB / 4.692 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of SimCode: time 6.71e-07/10.89, allocations: 0 / 4.692 GB, free: 112.6 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_y.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)