Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.116/2.116, allocations: 387.2 MB / 394.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 177.3 kB / 487 MB, free: 5.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.3 MB / 0.7819 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 95.56 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5667/0.5678, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.8329, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.479/5.311, allocations: 1.945 GB / 3.15 GB, free: 377.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/5.312, allocations: 83.95 kB / 3.15 GB, free: 377 MB / 1.151 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.9/10.21, allocations: 1.557 GB / 4.707 GB, free: 102.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/10.21, allocations: 19.98 kB / 4.707 GB, free: 102.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007951/10.22, allocations: 1.085 MB / 4.708 GB, free: 101.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008648/10.23, allocations: 3.177 MB / 4.711 GB, free: 98.08 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/10.23, allocations: 44 kB / 4.711 GB, free: 98.04 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/10.23, allocations: 92 kB / 4.712 GB, free: 97.95 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002403/10.23, allocations: 1.364 MB / 4.713 GB, free: 96.58 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/10.23, allocations: 1.521 MB / 4.714 GB, free: 95 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/10.23, allocations: 3.938 kB / 4.714 GB, free: 95 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/10.23, allocations: 0 / 4.714 GB, free: 95 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/10.23, allocations: 62.61 kB / 4.714 GB, free: 94.93 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/10.24, allocations: 8.03 MB / 4.722 GB, free: 86.45 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/10.25, allocations: 0.9919 MB / 4.723 GB, free: 85.45 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/10.25, allocations: 0.6197 MB / 4.724 GB, free: 84.84 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/10.25, allocations: 283 kB / 4.724 GB, free: 84.51 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/10.25, allocations: 43.34 kB / 4.724 GB, free: 84.46 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 2.875e-06/10.25, allocations: 0 / 4.724 GB, free: 84.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.004197/10.25, allocations: 1.419 MB / 4.726 GB, free: 83.02 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/10.25, allocations: 64.12 kB / 4.726 GB, free: 82.94 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/10.25, allocations: 1.372 MB / 4.727 GB, free: 81.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/10.25, allocations: 29.7 kB / 4.727 GB, free: 81.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/10.25, allocations: 0.6366 MB / 4.728 GB, free: 80.85 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/10.25, allocations: 283.7 kB / 4.728 GB, free: 80.57 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/10.25, allocations: 0 / 4.728 GB, free: 80.57 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/10.25, allocations: 353.8 kB / 4.728 GB, free: 80.22 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/10.25, allocations: 438.5 kB / 4.729 GB, free: 79.79 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/10.26, allocations: 0.8396 MB / 4.729 GB, free: 78.75 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/10.26, allocations: 0.6004 MB / 4.73 GB, free: 78.16 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/10.26, allocations: 4 kB / 4.73 GB, free: 78.15 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003558/10.26, allocations: 1.67 MB / 4.732 GB, free: 76.47 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006221/10.26, allocations: 3.851 MB / 4.735 GB, free: 72.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/10.26, allocations: 8 kB / 4.735 GB, free: 72.35 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/10.26, allocations: 310.3 kB / 4.736 GB, free: 72.04 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/10.26, allocations: 271.6 kB / 4.736 GB, free: 71.77 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/10.27, allocations: 3.638 MB / 4.74 GB, free: 67.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/10.27, allocations: 191 kB / 4.74 GB, free: 67.76 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/10.27, allocations: 79.95 kB / 4.74 GB, free: 67.68 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/10.27, allocations: 4.094 kB / 4.74 GB, free: 67.68 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003333/10.27, allocations: 1.35 MB / 4.741 GB, free: 66.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/10.27, allocations: 20.02 kB / 4.741 GB, free: 66.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/10.27, allocations: 314.3 kB / 4.741 GB, free: 65.98 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/10.27, allocations: 243.7 kB / 4.742 GB, free: 65.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/10.28, allocations: 4.943 MB / 4.747 GB, free: 60.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/10.28, allocations: 175.1 kB / 4.747 GB, free: 60.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/10.28, allocations: 72.03 kB / 4.747 GB, free: 60.23 MB / 1.167 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.0005426/10.28, allocations: 142.6 kB / 4.747 GB, free: 60.09 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/10.28, allocations: 189.6 kB / 4.747 GB, free: 59.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/10.29, allocations: 1.435 MB / 4.748 GB, free: 58.46 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/10.29, allocations: 11.91 kB / 4.748 GB, free: 58.45 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/10.29, allocations: 4 kB / 4.748 GB, free: 58.44 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002498/10.29, allocations: 1.189 MB / 4.75 GB, free: 57.22 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006979/10.3, allocations: 2.965 MB / 4.753 GB, free: 54.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/10.3, allocations: 4 kB / 4.753 GB, free: 54.19 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/10.3, allocations: 199.8 kB / 4.753 GB, free: 54 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006515/10.3, allocations: 227.7 kB / 4.753 GB, free: 53.77 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/10.3, allocations: 15.98 kB / 4.753 GB, free: 53.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/10.3, allocations: 3.484 MB / 4.756 GB, free: 50.08 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/10.3, allocations: 0 / 4.756 GB, free: 50.08 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00376/10.31, allocations: 2 MB / 4.758 GB, free: 48.01 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005044/10.31, allocations: 3.15 MB / 4.761 GB, free: 44.79 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/10.31, allocations: 382.2 kB / 4.762 GB, free: 44.39 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005977/10.31, allocations: 7.984 kB / 4.762 GB, free: 44.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/10.31, allocations: 119.7 kB / 4.762 GB, free: 44.27 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/10.31, allocations: 48.61 kB / 4.762 GB, free: 44.22 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/10.31, allocations: 43.97 kB / 4.762 GB, free: 44.18 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001978/10.32, allocations: 1.044 MB / 4.763 GB, free: 43.12 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009446/10.33, allocations: 2.462 MB / 4.765 GB, free: 40.65 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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.006838/10.33, allocations: 4.681 MB / 4.77 GB, free: 35.98 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004097/10.34, allocations: 2.114 MB / 4.772 GB, free: 33.84 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/10.34, allocations: 3.938 kB / 4.772 GB, free: 33.83 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/10.34, allocations: 0.6028 MB / 4.773 GB, free: 33.22 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/10.34, allocations: 0.8884 MB / 4.773 GB, free: 32.34 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007682/10.35, allocations: 2.933 MB / 4.776 GB, free: 29.35 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/10.35, allocations: 1.815 MB / 4.778 GB, free: 27.5 MB / 1.167 GB Notification: Performance of SimCode: time 5.91e-07/10.35, allocations: 0 / 4.778 GB, free: 27.5 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)