Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.7443/0.7443, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001289/0.001289, allocations: 177.3 kB / 164.4 MB, free: 6.898 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.899/1.899, allocations: 205.1 MB / 399.1 MB, free: 6.113 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.0009833/0.0009834, allocations: 85.95 kB / 476.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3743/0.3753, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.5907, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.339/5.93, allocations: 2.176 GB / 2.797 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/5.93, allocations: 91.89 kB / 2.797 GB, free: 19.26 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 1.792/7.722, allocations: 401.3 MB / 3.189 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/7.722, allocations: 8 kB / 3.189 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/7.726, allocations: 0.5423 MB / 3.19 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/7.729, allocations: 0.8121 MB / 3.191 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/7.729, allocations: 47.98 kB / 3.191 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/7.729, allocations: 72 kB / 3.191 GB, free: 110 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003168/7.732, allocations: 1.406 MB / 3.192 GB, free: 108.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/7.735, allocations: 1.201 MB / 3.193 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/7.735, allocations: 7.906 kB / 3.193 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/7.735, allocations: 4 kB / 3.193 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/7.735, allocations: 32 kB / 3.193 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008301/7.744, allocations: 4.72 MB / 3.198 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/7.745, allocations: 0.969 MB / 3.199 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/7.746, allocations: 415.6 kB / 3.199 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/7.747, allocations: 0.8517 MB / 3.2 GB, free: 100 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009418/7.748, allocations: 0.5875 MB / 3.201 GB, free: 99.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=98): time 4.398e-06/7.748, allocations: 0 / 3.201 GB, free: 99.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98): time 0.004133/7.752, allocations: 1.15 MB / 3.202 GB, free: 98.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/7.752, allocations: 171 kB / 3.202 GB, free: 98.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/7.754, allocations: 0.5662 MB / 3.202 GB, free: 97.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/7.754, allocations: 33.7 kB / 3.202 GB, free: 97.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/7.754, allocations: 455.5 kB / 3.203 GB, free: 96.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/7.755, allocations: 311.3 kB / 3.203 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/7.755, allocations: 0 / 3.203 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002324/7.755, allocations: 394.7 kB / 3.204 GB, free: 96.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/7.756, allocations: 317.9 kB / 3.204 GB, free: 95.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/7.757, allocations: 485.2 kB / 3.204 GB, free: 95.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/7.758, allocations: 0.5571 MB / 3.205 GB, free: 94.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/7.758, allocations: 0 / 3.205 GB, free: 94.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003243/7.762, allocations: 1.186 MB / 3.206 GB, free: 93.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/7.762, allocations: 7.062 kB / 3.206 GB, free: 93.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/7.762, allocations: 4 kB / 3.206 GB, free: 93.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/7.762, allocations: 93.16 kB / 3.206 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/7.764, allocations: 243.5 kB / 3.206 GB, free: 93.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/7.765, allocations: 1.46 MB / 3.208 GB, free: 91.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/7.767, allocations: 115.2 kB / 3.208 GB, free: 91.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/7.767, allocations: 43.97 kB / 3.208 GB, free: 91.58 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,senMasFra.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004118/7.768, allocations: 125.4 kB / 3.208 GB, free: 91.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/7.768, allocations: 94.88 kB / 3.208 GB, free: 91.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/7.773, allocations: 1.423 MB / 3.21 GB, free: 89.92 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/7.773, allocations: 8 kB / 3.21 GB, free: 89.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/7.773, allocations: 0 / 3.21 GB, free: 89.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/7.773, allocations: 3.984 kB / 3.21 GB, free: 89.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/7.775, allocations: 1.03 MB / 3.211 GB, free: 88.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/7.775, allocations: 0 / 3.211 GB, free: 88.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/7.776, allocations: 219.7 kB / 3.211 GB, free: 88.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/7.776, allocations: 84.78 kB / 3.211 GB, free: 88.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/7.777, allocations: 23.88 kB / 3.211 GB, free: 88.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/7.778, allocations: 1.48 MB / 3.212 GB, free: 86.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/7.778, allocations: 0 / 3.212 GB, free: 86.95 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003217/7.781, allocations: 1.203 MB / 3.213 GB, free: 85.73 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003472/7.785, allocations: 1.686 MB / 3.215 GB, free: 84.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009116/7.786, allocations: 351.5 kB / 3.215 GB, free: 83.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/7.786, allocations: 3.984 kB / 3.215 GB, free: 83.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/7.788, allocations: 91.81 kB / 3.216 GB, free: 83.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/7.788, allocations: 60.91 kB / 3.216 GB, free: 83.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/7.788, allocations: 47.97 kB / 3.216 GB, free: 83.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007758/7.789, allocations: 455.1 kB / 3.216 GB, free: 83.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003507/7.792, allocations: 0.7545 MB / 3.217 GB, free: 82.26 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004065/7.796, allocations: 1.978 MB / 3.219 GB, free: 80.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002178/7.798, allocations: 0.9813 MB / 3.22 GB, free: 79.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/7.798, allocations: 4.438 kB / 3.22 GB, free: 79.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/7.8, allocations: 0.5794 MB / 3.22 GB, free: 78.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/7.802, allocations: 290.7 kB / 3.221 GB, free: 78.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/7.808, allocations: 1.84 MB / 3.222 GB, free: 76.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/7.809, allocations: 1.308 MB / 3.224 GB, free: 75.47 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/7.809, allocations: 0 / 3.224 GB, free: 75.47 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)