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: translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") [: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.7289/0.7289, 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.0012/0.0012, allocations: 189.3 kB / 164.4 MB, free: 6.855 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.803/1.803, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.001074/0.001074, allocations: 91.31 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.724e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1958, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.544/4.74, allocations: 2.176 GB / 2.797 GB, free: 34.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/4.74, allocations: 83.95 kB / 2.797 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.516/6.256, allocations: 399.7 MB / 3.187 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001781/6.257, allocations: 40.91 kB / 3.188 GB, free: 119.4 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 0.005188/6.262, allocations: 1.624 MB / 3.189 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/6.262, allocations: 8.469 kB / 3.189 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/6.266, allocations: 0.5262 MB / 3.19 GB, free: 118 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/6.269, allocations: 0.8211 MB / 3.19 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/6.27, allocations: 41.44 kB / 3.19 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/6.27, allocations: 73.41 kB / 3.191 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003563/6.274, allocations: 1.413 MB / 3.192 GB, free: 116.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/6.277, allocations: 1.191 MB / 3.193 GB, free: 116 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/6.277, allocations: 9.812 kB / 3.193 GB, free: 116 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/6.277, allocations: 2.906 kB / 3.193 GB, free: 116 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/6.277, allocations: 34.94 kB / 3.193 GB, free: 116 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/6.287, allocations: 4.722 MB / 3.198 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/6.289, allocations: 0.9638 MB / 3.199 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/6.29, allocations: 419.3 kB / 3.199 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/6.291, allocations: 0.8443 MB / 3.2 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009651/6.292, allocations: 0.5934 MB / 3.2 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=98): time 4.228e-06/6.292, allocations: 0 / 3.2 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98): time 0.003735/6.296, allocations: 1.149 MB / 3.202 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/6.296, allocations: 167 kB / 3.202 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000987/6.297, allocations: 0.5692 MB / 3.202 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/6.297, allocations: 33.7 kB / 3.202 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/6.298, allocations: 451.5 kB / 3.203 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/6.298, allocations: 311.3 kB / 3.203 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/6.298, allocations: 0 / 3.203 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001466/6.298, allocations: 390.8 kB / 3.203 GB, free: 107 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/6.299, allocations: 317.9 kB / 3.204 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/6.299, allocations: 489 kB / 3.204 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/6.301, allocations: 0.5601 MB / 3.205 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/6.301, allocations: 0 / 3.205 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003163/6.304, allocations: 1.181 MB / 3.206 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/6.304, allocations: 4 kB / 3.206 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/6.304, allocations: 4 kB / 3.206 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/6.305, allocations: 90.84 kB / 3.206 GB, free: 104.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/6.306, allocations: 238.9 kB / 3.206 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/6.308, allocations: 1.471 MB / 3.208 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/6.309, allocations: 114.8 kB / 3.208 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/6.309, allocations: 35.98 kB / 3.208 GB, free: 102.3 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.0002976/6.31, allocations: 137.2 kB / 3.208 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/6.31, allocations: 97 kB / 3.208 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/6.314, allocations: 1.417 MB / 3.209 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/6.314, allocations: 12 kB / 3.209 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/6.314, allocations: 0 / 3.209 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/6.314, allocations: 7.875 kB / 3.209 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/6.316, allocations: 1.027 MB / 3.21 GB, free: 99.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/6.316, allocations: 0 / 3.21 GB, free: 99.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/6.317, allocations: 219.1 kB / 3.211 GB, free: 99.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/6.318, allocations: 90.34 kB / 3.211 GB, free: 99.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/6.318, allocations: 23.88 kB / 3.211 GB, free: 99.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/6.319, allocations: 1.474 MB / 3.212 GB, free: 97.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/6.319, allocations: 0 / 3.212 GB, free: 97.77 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003174/6.322, allocations: 1.2 MB / 3.213 GB, free: 96.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/6.323, allocations: 357.9 kB / 3.214 GB, free: 96.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/6.323, allocations: 8 kB / 3.214 GB, free: 96.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/6.325, allocations: 92.56 kB / 3.214 GB, free: 96.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/6.325, allocations: 54.56 kB / 3.214 GB, free: 96.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/6.325, allocations: 51.95 kB / 3.214 GB, free: 95.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006569/6.326, allocations: 459.1 kB / 3.214 GB, free: 95.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002021/6.328, allocations: 0.5482 MB / 3.215 GB, free: 95 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.003239/6.331, allocations: 1.979 MB / 3.217 GB, free: 93.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001769/6.333, allocations: 0.9847 MB / 3.218 GB, free: 92.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/6.333, allocations: 4.438 kB / 3.218 GB, free: 92.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009001/6.334, allocations: 0.5833 MB / 3.218 GB, free: 91.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/6.335, allocations: 297.9 kB / 3.219 GB, free: 91.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/6.341, allocations: 1.809 MB / 3.22 GB, free: 89.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/6.342, allocations: 1.327 MB / 3.222 GB, free: 88.22 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/6.342, allocations: 3.938 kB / 3.222 GB, free: 88.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.04567/6.388, allocations: 29.19 MB / 3.25 GB, free: 59.51 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)