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_linear.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_linear,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.391/1.391, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.00103/0.00103, allocations: 185.3 kB / 361.1 MB, free: 7.113 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.265/1.265, allocations: 205.1 MB / 0.6195 GB, free: 12.02 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.0008795/0.0008794, allocations: 90.73 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2726/0.2735, allocations: 121.4 MB / 0.8511 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.9341, allocations: 115.3 MB / 0.9638 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8334/1.768, allocations: 438.3 MB / 1.392 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/1.768, allocations: 96.08 kB / 1.392 GB, free: 126.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 2.228/3.996, allocations: 0.7666 GB / 2.158 GB, free: 131.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/3.996, allocations: 9.094 kB / 2.158 GB, free: 131.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/4, allocations: 0.5915 MB / 2.159 GB, free: 131.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03267/4.032, allocations: 14.13 MB / 2.173 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.872e-05/4.033, allocations: 33.66 kB / 2.173 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/4.033, allocations: 74.97 kB / 2.173 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001967/4.035, allocations: 0.8759 MB / 2.174 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/4.037, allocations: 1.063 MB / 2.175 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/4.037, allocations: 5.312 kB / 2.175 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/4.037, allocations: 5.719 kB / 2.175 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/4.037, allocations: 26.44 kB / 2.175 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007683/4.045, allocations: 5.705 MB / 2.18 GB, free: 118 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/4.046, allocations: 0.7061 MB / 2.181 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/4.046, allocations: 355 kB / 2.181 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00346/4.049, allocations: 2.723 MB / 2.184 GB, free: 115 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/4.049, allocations: 43.3 kB / 2.184 GB, free: 115 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=59): time 2.384e-06/4.049, allocations: 0 / 2.184 GB, free: 115 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59): time 0.002594/4.052, allocations: 1.009 MB / 2.185 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/4.052, allocations: 57.81 kB / 2.185 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/4.054, allocations: 1.201 MB / 2.186 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.777e-05/4.054, allocations: 28.48 kB / 2.186 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/4.054, allocations: 0.5474 MB / 2.187 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/4.054, allocations: 201.8 kB / 2.187 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/4.054, allocations: 3.938 kB / 2.187 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/4.054, allocations: 340.6 kB / 2.187 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/4.055, allocations: 316.3 kB / 2.188 GB, free: 112.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/4.055, allocations: 0.7419 MB / 2.188 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/4.057, allocations: 0.526 MB / 2.189 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/4.057, allocations: 2.969 kB / 2.189 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003922/4.061, allocations: 1.368 MB / 2.19 GB, free: 111 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008359/4.062, allocations: 4.321 MB / 2.195 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/4.062, allocations: 10.53 kB / 2.195 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/4.063, allocations: 203.3 kB / 2.195 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/4.063, allocations: 223.5 kB / 2.195 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/4.065, allocations: 1.897 MB / 2.197 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/4.066, allocations: 132.9 kB / 2.197 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/4.066, allocations: 75.36 kB / 2.197 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/4.066, allocations: 4.312 kB / 2.197 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00317/4.07, allocations: 1.103 MB / 2.198 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/4.07, allocations: 9.75 kB / 2.198 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/4.07, allocations: 208.5 kB / 2.198 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/4.071, allocations: 204.2 kB / 2.198 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/4.075, allocations: 3.717 MB / 2.202 GB, free: 99.76 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/4.076, allocations: 117.2 kB / 2.202 GB, free: 99.65 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/4.076, allocations: 67.97 kB / 2.202 GB, free: 99.59 MB / 0.9323 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002922/4.077, allocations: 132.7 kB / 2.202 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/4.077, allocations: 169.8 kB / 2.203 GB, free: 99.29 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/4.08, allocations: 1.318 MB / 2.204 GB, free: 98 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/4.08, allocations: 11.98 kB / 2.204 GB, free: 97.99 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/4.08, allocations: 0 / 2.204 GB, free: 97.99 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/4.08, allocations: 0 / 2.204 GB, free: 97.99 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005042/4.085, allocations: 2.307 MB / 2.206 GB, free: 95.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/4.085, allocations: 0 / 2.206 GB, free: 95.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/4.086, allocations: 123.8 kB / 2.206 GB, free: 95.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000393/4.086, allocations: 161.7 kB / 2.206 GB, free: 95.36 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/4.086, allocations: 15.98 kB / 2.206 GB, free: 95.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/4.087, allocations: 1.827 MB / 2.208 GB, free: 93.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/4.087, allocations: 0 / 2.208 GB, free: 93.45 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002624/4.09, allocations: 1.289 MB / 2.209 GB, free: 92.1 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003008/4.093, allocations: 1.759 MB / 2.211 GB, free: 90.28 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/4.094, allocations: 334.7 kB / 2.211 GB, free: 89.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/4.094, allocations: 7.984 kB / 2.212 GB, free: 89.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/4.095, allocations: 69.03 kB / 2.212 GB, free: 89.87 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/4.095, allocations: 44.58 kB / 2.212 GB, free: 89.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/4.095, allocations: 39.97 kB / 2.212 GB, free: 89.79 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001435/4.097, allocations: 0.8959 MB / 2.213 GB, free: 88.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005908/4.103, allocations: 1.352 MB / 2.214 GB, free: 87.55 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002324/4.105, allocations: 1.379 MB / 2.215 GB, free: 86.38 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002376/4.107, allocations: 1.535 MB / 2.217 GB, free: 84.85 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/4.107, allocations: 0 / 2.217 GB, free: 84.85 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005933/4.108, allocations: 413.7 kB / 2.217 GB, free: 84.45 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/4.11, allocations: 0.6468 MB / 2.218 GB, free: 83.85 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/4.114, allocations: 2.165 MB / 2.22 GB, free: 81.64 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/4.115, allocations: 1.569 MB / 2.221 GB, free: 80.07 MB / 0.9323 GB Notification: Performance of SimCode: time 7.11e-07/4.115, allocations: 0 / 2.221 GB, free: 80.07 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)