Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_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.Examples.ClosedLoop_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_ClosedLoop_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.7122/0.7122, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.001201/0.001201, allocations: 185.2 kB / 164.4 MB, free: 6.867 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.789/1.789, allocations: 205.1 MB / 399.1 MB, free: 6.059 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.000901/0.000901, allocations: 87.39 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.327/0.3279, allocations: 82.88 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.5057, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.825/5.331, allocations: 2.194 GB / 2.815 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/5.331, allocations: 93.36 kB / 2.815 GB, free: 14.16 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 3.166/8.497, allocations: 0.8009 GB / 3.616 GB, free: 85.58 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/8.497, allocations: 7.656 kB / 3.616 GB, free: 85.58 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003862/8.5, allocations: 0.4942 MB / 3.616 GB, free: 85.49 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005791/8.506, allocations: 1.962 MB / 3.618 GB, free: 85.15 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/8.506, allocations: 33.94 kB / 3.618 GB, free: 85.15 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/8.507, allocations: 65.34 kB / 3.618 GB, free: 85.15 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001775/8.508, allocations: 0.8757 MB / 3.619 GB, free: 85.15 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/8.51, allocations: 1.051 MB / 3.62 GB, free: 84.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/8.51, allocations: 3 kB / 3.62 GB, free: 84.97 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/8.51, allocations: 0 / 3.62 GB, free: 84.97 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/8.51, allocations: 33.81 kB / 3.62 GB, free: 84.97 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00961/8.52, allocations: 5.023 MB / 3.625 GB, free: 82.72 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/8.521, allocations: 0.7761 MB / 3.626 GB, free: 82.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/8.522, allocations: 431.7 kB / 3.626 GB, free: 82.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/8.522, allocations: 190 kB / 3.626 GB, free: 82.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006372/8.523, allocations: 443.5 kB / 3.627 GB, free: 82.45 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.716e-06/8.523, allocations: 0 / 3.627 GB, free: 82.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.003032/8.526, allocations: 0.935 MB / 3.628 GB, free: 82.32 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/8.526, allocations: 189 kB / 3.628 GB, free: 82.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/8.528, allocations: 0.9023 MB / 3.629 GB, free: 81.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/8.528, allocations: 25.7 kB / 3.629 GB, free: 81.92 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/8.528, allocations: 448.8 kB / 3.629 GB, free: 81.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/8.529, allocations: 248.9 kB / 3.629 GB, free: 81.61 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/8.529, allocations: 0 / 3.629 GB, free: 81.61 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/8.529, allocations: 345.7 kB / 3.63 GB, free: 81.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/8.529, allocations: 316.5 kB / 3.63 GB, free: 81.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/8.53, allocations: 0.5802 MB / 3.631 GB, free: 81 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/8.531, allocations: 439.4 kB / 3.631 GB, free: 80.98 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/8.531, allocations: 0 / 3.631 GB, free: 80.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002136/8.533, allocations: 1.079 MB / 3.632 GB, free: 80.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005367/8.534, allocations: 1.939 MB / 3.634 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/8.534, allocations: 22.31 kB / 3.634 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/8.534, allocations: 102.7 kB / 3.634 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/8.536, allocations: 242.6 kB / 3.634 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/8.537, allocations: 1.325 MB / 3.636 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/8.539, allocations: 128.4 kB / 3.636 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/8.539, allocations: 51.84 kB / 3.636 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/8.539, allocations: 3.906 kB / 3.636 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001823/8.541, allocations: 0.8584 MB / 3.637 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/8.541, allocations: 3.875 kB / 3.637 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000454/8.541, allocations: 107.8 kB / 3.637 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/8.542, allocations: 185.7 kB / 3.637 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/8.546, allocations: 2.639 MB / 3.639 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/8.547, allocations: 110.9 kB / 3.639 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/8.547, allocations: 43.5 kB / 3.64 GB, free: 76.04 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 93 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005244/8.548, allocations: 128.7 kB / 3.64 GB, free: 75.94 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/8.548, allocations: 134.2 kB / 3.64 GB, free: 75.87 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/8.551, allocations: 0.9163 MB / 3.641 GB, free: 75.78 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/8.551, allocations: 12.86 kB / 3.641 GB, free: 75.78 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/8.551, allocations: 0 / 3.641 GB, free: 75.78 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/8.553, allocations: 0.8083 MB / 3.641 GB, free: 75.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005013/8.558, allocations: 2.058 MB / 3.643 GB, free: 75.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/8.558, allocations: 0 / 3.643 GB, free: 75.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/8.56, allocations: 216.6 kB / 3.644 GB, free: 75.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/8.56, allocations: 69.56 kB / 3.644 GB, free: 75.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/8.56, allocations: 13.62 kB / 3.644 GB, free: 75.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/8.562, allocations: 1.937 MB / 3.646 GB, free: 73.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/8.562, allocations: 3.656 kB / 3.646 GB, free: 73.47 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002766/8.565, allocations: 1.413 MB / 3.647 GB, free: 73.15 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003682/8.568, allocations: 2.351 MB / 3.649 GB, free: 72.44 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/8.569, allocations: 288.9 kB / 3.65 GB, free: 72.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/8.569, allocations: 12.2 kB / 3.65 GB, free: 72.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/8.57, allocations: 81.59 kB / 3.65 GB, free: 72.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/8.571, allocations: 43.47 kB / 3.65 GB, free: 72.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/8.571, allocations: 27.64 kB / 3.65 GB, free: 72.27 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001076/8.572, allocations: 0.6875 MB / 3.65 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005742/8.577, allocations: 1.642 MB / 3.652 GB, free: 72.07 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00509/8.583, allocations: 2.968 MB / 3.655 GB, free: 71.21 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004114/8.587, allocations: 1.568 MB / 3.656 GB, free: 70.96 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/8.587, allocations: 6.188 kB / 3.656 GB, free: 70.96 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/8.588, allocations: 447 kB / 3.657 GB, free: 70.96 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/8.592, allocations: 0.5535 MB / 3.657 GB, free: 70.94 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/8.596, allocations: 2.059 MB / 3.659 GB, free: 70.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/8.598, allocations: 1.448 MB / 3.661 GB, free: 69.67 MB / 0.6667 GB Notification: Performance of SimCode: time 4.408e-06/8.598, allocations: 2.531 kB / 3.661 GB, free: 69.67 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_ClosedLoop_y.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)