Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7325/0.7325, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 185.3 kB / 164.4 MB, free: 6.859 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 83.19 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.34/0.341, allocations: 82.88 MB / 0.546 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.5316, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.215/5.747, allocations: 2.19 GB / 2.811 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/5.747, allocations: 91.62 kB / 2.811 GB, free: 107.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 6.217/11.96, allocations: 1.523 GB / 4.334 GB, free: 61.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/11.96, allocations: 9.875 kB / 4.334 GB, free: 61.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008572/11.97, allocations: 0.9735 MB / 4.335 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/11.99, allocations: 3.154 MB / 4.338 GB, free: 60.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/11.99, allocations: 50.47 kB / 4.338 GB, free: 60.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008322/11.99, allocations: 96 kB / 4.338 GB, free: 60.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0044/11.99, allocations: 1.348 MB / 4.34 GB, free: 60.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004623/12, allocations: 1.503 MB / 4.341 GB, free: 60.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/12, allocations: 2.219 kB / 4.341 GB, free: 60.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/12, allocations: 1.5 kB / 4.341 GB, free: 60.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/12, allocations: 48.31 kB / 4.341 GB, free: 60.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/12.01, allocations: 7.829 MB / 4.349 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/12.01, allocations: 1.005 MB / 4.35 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009682/12.01, allocations: 0.601 MB / 4.35 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/12.01, allocations: 280.7 kB / 4.351 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/12.01, allocations: 42.81 kB / 4.351 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=84): time 4.098e-06/12.01, allocations: 0 / 4.351 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.005472/12.02, allocations: 1.472 MB / 4.352 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/12.02, allocations: 65.12 kB / 4.352 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/12.02, allocations: 1.358 MB / 4.353 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/12.02, allocations: 29.45 kB / 4.353 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/12.02, allocations: 0.6356 MB / 4.354 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/12.02, allocations: 278.1 kB / 4.354 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/12.02, allocations: 2.656 kB / 4.354 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001006/12.02, allocations: 348.7 kB / 4.355 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/12.02, allocations: 433.8 kB / 4.355 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/12.02, allocations: 0.8277 MB / 4.356 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/12.02, allocations: 0.5973 MB / 4.356 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/12.02, allocations: 4.469 kB / 4.356 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004676/12.03, allocations: 1.681 MB / 4.358 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009605/12.03, allocations: 3.766 MB / 4.362 GB, free: 50.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/12.03, allocations: 13.62 kB / 4.362 GB, free: 50.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/12.03, allocations: 329.8 kB / 4.362 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/12.03, allocations: 282.9 kB / 4.362 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/12.04, allocations: 3.677 MB / 4.366 GB, free: 47.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/12.04, allocations: 177.5 kB / 4.366 GB, free: 47.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/12.04, allocations: 83.7 kB / 4.366 GB, free: 47.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/12.04, allocations: 3.062 kB / 4.366 GB, free: 47.44 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003682/12.04, allocations: 1.323 MB / 4.368 GB, free: 47.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/12.04, allocations: 10.81 kB / 4.368 GB, free: 47.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/12.04, allocations: 312.8 kB / 4.368 GB, free: 47.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/12.05, allocations: 228.3 kB / 4.368 GB, free: 47.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/12.05, allocations: 4.92 MB / 4.373 GB, free: 44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/12.05, allocations: 144 kB / 4.373 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/12.06, allocations: 73.81 kB / 4.373 GB, free: 43.96 MB / 0.7136 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: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 111 * 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.000552/12.06, allocations: 142.2 kB / 4.373 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/12.06, allocations: 192.2 kB / 4.373 GB, free: 43.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/12.06, allocations: 1.5 MB / 4.375 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/12.06, allocations: 15.34 kB / 4.375 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/12.06, allocations: 0 / 4.375 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003745/12.07, allocations: 1.265 MB / 4.376 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008038/12.07, allocations: 2.932 MB / 4.379 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/12.07, allocations: 1.781 kB / 4.379 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/12.07, allocations: 236.2 kB / 4.379 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006615/12.08, allocations: 252.5 kB / 4.379 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/12.08, allocations: 14.83 kB / 4.379 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004785/12.08, allocations: 4.232 MB / 4.384 GB, free: 39.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/12.08, allocations: 0 / 4.384 GB, free: 39.47 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005635/12.09, allocations: 2.088 MB / 4.386 GB, free: 39.06 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008047/12.09, allocations: 3.23 MB / 4.389 GB, free: 38.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/12.1, allocations: 370.2 kB / 4.389 GB, free: 38.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/12.1, allocations: 3.625 kB / 4.389 GB, free: 38.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/12.1, allocations: 111.5 kB / 4.389 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/12.1, allocations: 54.38 kB / 4.389 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/12.1, allocations: 42.53 kB / 4.389 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001752/12.1, allocations: 1.029 MB / 4.39 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008584/12.11, allocations: 2.429 MB / 4.393 GB, free: 37.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (71): * Single equations (assignments): 67 * 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,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006775/12.12, allocations: 4.758 MB / 4.397 GB, free: 35.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005666/12.12, allocations: 2.129 MB / 4.399 GB, free: 35.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/12.12, allocations: 0 / 4.399 GB, free: 35.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/12.12, allocations: 0.6609 MB / 4.4 GB, free: 35.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005218/12.13, allocations: 0.862 MB / 4.401 GB, free: 35.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/12.14, allocations: 2.894 MB / 4.404 GB, free: 34.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/12.14, allocations: 1.815 MB / 4.406 GB, free: 33.96 MB / 0.7136 GB Notification: Performance of SimCode: time 2.094e-06/12.14, allocations: 0 / 4.406 GB, free: 33.96 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_y.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)