Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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_linear,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.013/2.013, allocations: 387.2 MB / 394.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 180.9 kB / 487 MB, free: 0.707 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.3 MB / 0.7819 GB, free: 6.758 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 99.22 kB / 0.9213 GB, free: 43.67 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2998/0.301, allocations: 148.5 MB / 1.066 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/1.033, allocations: 142.3 MB / 1.205 GB, free: 72.58 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/2.059, allocations: 436.7 MB / 1.632 GB, free: 174.2 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/2.059, allocations: 86.47 kB / 1.632 GB, free: 174.2 MB / 1.01 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 3.018/5.077, allocations: 0.7782 GB / 2.41 GB, free: 211.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/5.077, allocations: 7.625 kB / 2.41 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004581/5.082, allocations: 0.7838 MB / 2.411 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03336/5.115, allocations: 14.47 MB / 2.425 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/5.115, allocations: 32.12 kB / 2.425 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/5.115, allocations: 68.78 kB / 2.425 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00163/5.117, allocations: 0.8958 MB / 2.426 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/5.119, allocations: 1.093 MB / 2.427 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/5.119, allocations: 6.562 kB / 2.427 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.964e-05/5.119, allocations: 3.891 kB / 2.427 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/5.119, allocations: 26.19 kB / 2.427 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008272/5.127, allocations: 5.8 MB / 2.433 GB, free: 207.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/5.128, allocations: 0.7212 MB / 2.433 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/5.129, allocations: 367.1 kB / 2.434 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004353/5.133, allocations: 2.83 MB / 2.436 GB, free: 206.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/5.133, allocations: 47.17 kB / 2.437 GB, free: 206 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.304e-06/5.133, allocations: 0 / 2.437 GB, free: 206 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.002912/5.136, allocations: 1.028 MB / 2.438 GB, free: 205.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/5.136, allocations: 58.44 kB / 2.438 GB, free: 205.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/5.138, allocations: 1.211 MB / 2.439 GB, free: 205.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/5.138, allocations: 32.98 kB / 2.439 GB, free: 205.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/5.138, allocations: 0.5529 MB / 2.439 GB, free: 205.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/5.138, allocations: 200.1 kB / 2.44 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/5.138, allocations: 0 / 2.44 GB, free: 205.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/5.138, allocations: 338.4 kB / 2.44 GB, free: 205 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/5.139, allocations: 326 kB / 2.44 GB, free: 205 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/5.139, allocations: 0.7444 MB / 2.441 GB, free: 204.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/5.141, allocations: 0.5381 MB / 2.441 GB, free: 204.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/5.141, allocations: 3.375 kB / 2.441 GB, free: 204.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003621/5.145, allocations: 1.381 MB / 2.443 GB, free: 204.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008778/5.146, allocations: 4.326 MB / 2.447 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/5.146, allocations: 11.06 kB / 2.447 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/5.146, allocations: 205.4 kB / 2.447 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/5.147, allocations: 229.7 kB / 2.447 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/5.149, allocations: 1.899 MB / 2.449 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/5.15, allocations: 151.9 kB / 2.449 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/5.15, allocations: 88.8 kB / 2.45 GB, free: 198.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/5.15, allocations: 3.938 kB / 2.45 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003241/5.154, allocations: 1.108 MB / 2.451 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/5.154, allocations: 15.56 kB / 2.451 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/5.154, allocations: 208.9 kB / 2.451 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/5.155, allocations: 221.2 kB / 2.451 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/5.159, allocations: 3.706 MB / 2.455 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/5.161, allocations: 126.9 kB / 2.455 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/5.161, allocations: 74.94 kB / 2.455 GB, free: 195.4 MB / 1.151 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.0004194/5.162, allocations: 140.9 kB / 2.455 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/5.162, allocations: 162.3 kB / 2.455 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/5.165, allocations: 1.347 MB / 2.456 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/5.165, allocations: 8.375 kB / 2.456 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/5.165, allocations: 7.609 kB / 2.456 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/5.165, allocations: 3.188 kB / 2.456 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/5.17, allocations: 2.343 MB / 2.459 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/5.17, allocations: 0 / 2.459 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/5.17, allocations: 140 kB / 2.459 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/5.171, allocations: 161.6 kB / 2.459 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/5.171, allocations: 16.88 kB / 2.459 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/5.172, allocations: 1.832 MB / 2.461 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/5.172, allocations: 0 / 2.461 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002627/5.175, allocations: 1.308 MB / 2.462 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002894/5.178, allocations: 1.771 MB / 2.464 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/5.178, allocations: 336.6 kB / 2.464 GB, free: 191.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/5.179, allocations: 3.594 kB / 2.464 GB, free: 191.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/5.18, allocations: 88.36 kB / 2.464 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/5.18, allocations: 44.95 kB / 2.464 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.443e-05/5.18, allocations: 38.58 kB / 2.464 GB, free: 191.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001452/5.181, allocations: 0.9139 MB / 2.465 GB, free: 191.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005825/5.187, allocations: 1.348 MB / 2.467 GB, free: 191.5 MB / 1.151 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.00291/5.19, allocations: 1.365 MB / 2.468 GB, free: 191.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003181/5.193, allocations: 1.563 MB / 2.469 GB, free: 191 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/5.193, allocations: 0 / 2.469 GB, free: 191 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007493/5.194, allocations: 422.5 kB / 2.47 GB, free: 191 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/5.197, allocations: 0.6657 MB / 2.47 GB, free: 191 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/5.202, allocations: 2.182 MB / 2.473 GB, free: 190.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/5.203, allocations: 1.575 MB / 2.474 GB, free: 189.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.303e-06/5.203, allocations: 1.5 kB / 2.474 GB, free: 189.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)