Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.589/2.589, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001648/0.001648, allocations: 177.2 kB / 360.3 MB, free: 7.523 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.877/1.877, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001357/0.001356, allocations: 85.16 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3044/0.3058, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.9717, allocations: 115.2 MB / 0.9627 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/2.115, allocations: 438.1 MB / 1.391 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004183/2.116, allocations: 96.84 kB / 1.391 GB, free: 130.6 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 3.9/6.016, allocations: 0.7666 GB / 2.157 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/6.016, allocations: 6.5 kB / 2.157 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006035/6.022, allocations: 0.594 MB / 2.158 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06171/6.084, allocations: 14.13 MB / 2.172 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/6.084, allocations: 34.22 kB / 2.172 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006593/6.085, allocations: 72.41 kB / 2.172 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003087/6.088, allocations: 0.868 MB / 2.173 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/6.091, allocations: 1.07 MB / 2.174 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/6.091, allocations: 2.688 kB / 2.174 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/6.091, allocations: 6.781 kB / 2.174 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/6.091, allocations: 25.03 kB / 2.174 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/6.104, allocations: 5.689 MB / 2.179 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/6.106, allocations: 0.7064 MB / 2.18 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008795/6.107, allocations: 355.7 kB / 2.18 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006531/6.113, allocations: 2.736 MB / 2.183 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/6.114, allocations: 47.03 kB / 2.183 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=59): time 4.499e-06/6.114, allocations: 3.062 kB / 2.183 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59): time 0.004595/6.118, allocations: 1.014 MB / 2.184 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/6.118, allocations: 57.44 kB / 2.184 GB, free: 117 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/6.121, allocations: 1.199 MB / 2.185 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/6.121, allocations: 31.23 kB / 2.185 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/6.122, allocations: 0.5479 MB / 2.186 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/6.122, allocations: 199.7 kB / 2.186 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/6.122, allocations: 0 / 2.186 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001014/6.122, allocations: 341.5 kB / 2.186 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/6.123, allocations: 315.1 kB / 2.187 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/6.124, allocations: 0.741 MB / 2.187 GB, free: 114.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005479/6.13, allocations: 0.5289 MB / 2.188 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.159e-05/6.13, allocations: 3.125 kB / 2.188 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.009314/6.139, allocations: 1.358 MB / 2.189 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/6.14, allocations: 4.329 MB / 2.193 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.152e-05/6.14, allocations: 14.47 kB / 2.193 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/6.141, allocations: 204.7 kB / 2.194 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/6.143, allocations: 214.7 kB / 2.194 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/6.145, allocations: 1.896 MB / 2.196 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/6.148, allocations: 134.8 kB / 2.196 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/6.148, allocations: 73.89 kB / 2.196 GB, free: 107 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/6.148, allocations: 5.062 kB / 2.196 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005477/6.154, allocations: 1.103 MB / 2.197 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/6.154, allocations: 9.156 kB / 2.197 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/6.155, allocations: 214.6 kB / 2.197 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/6.156, allocations: 207.6 kB / 2.197 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007504/6.164, allocations: 3.706 MB / 2.201 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/6.166, allocations: 111.7 kB / 2.201 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/6.166, allocations: 71.83 kB / 2.201 GB, free: 103.1 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.0004664/6.167, allocations: 141.7 kB / 2.201 GB, free: 103 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/6.167, allocations: 163.7 kB / 2.201 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005943/6.173, allocations: 1.312 MB / 2.203 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.257e-05/6.173, allocations: 13.33 kB / 2.203 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/6.173, allocations: 7.25 kB / 2.203 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/6.173, allocations: 3.984 kB / 2.203 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008196/6.182, allocations: 2.302 MB / 2.205 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/6.182, allocations: 4 kB / 2.205 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/6.183, allocations: 123.6 kB / 2.205 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/6.183, allocations: 161.8 kB / 2.205 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/6.183, allocations: 19.97 kB / 2.205 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/6.185, allocations: 1.816 MB / 2.207 GB, free: 98.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/6.185, allocations: 4 kB / 2.207 GB, free: 98.33 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004481/6.19, allocations: 1.288 MB / 2.208 GB, free: 96.99 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005106/6.195, allocations: 1.759 MB / 2.21 GB, free: 95.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/6.196, allocations: 342.7 kB / 2.21 GB, free: 94.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003728/6.196, allocations: 0 / 2.21 GB, free: 94.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/6.198, allocations: 70.25 kB / 2.21 GB, free: 94.75 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/6.198, allocations: 48.58 kB / 2.21 GB, free: 94.71 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/6.198, allocations: 43.84 kB / 2.21 GB, free: 94.66 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001934/6.2, allocations: 0.9072 MB / 2.211 GB, free: 93.77 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007644/6.208, allocations: 1.345 MB / 2.213 GB, free: 92.43 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.003335/6.211, allocations: 1.363 MB / 2.214 GB, free: 91.29 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004331/6.216, allocations: 1.544 MB / 2.216 GB, free: 89.75 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/6.216, allocations: 0 / 2.216 GB, free: 89.75 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/6.217, allocations: 402.3 kB / 2.216 GB, free: 89.36 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/6.223, allocations: 0.6593 MB / 2.217 GB, free: 88.76 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/6.23, allocations: 2.164 MB / 2.219 GB, free: 86.54 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/6.232, allocations: 1.574 MB / 2.22 GB, free: 84.97 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/6.232, allocations: 0 / 2.22 GB, free: 84.97 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)