Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 187.1 kB / 7.804 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.451/0.451, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 221.4 MB / 342.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009752, allocations: 92.34 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.977e-06, allocations: 4 kB / 493.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2995, allocations: 72.29 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.856/3.155, allocations: 1.859 GB / 2.412 GB, free: 217.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/3.155, allocations: 87.92 kB / 2.412 GB, free: 217.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.017/4.172, allocations: 410.2 MB / 2.813 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001412/4.173, allocations: 39.94 kB / 2.813 GB, free: 39.52 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003931/4.177, allocations: 1.653 MB / 2.815 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/4.177, allocations: 8.031 kB / 2.815 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/4.18, allocations: 417.5 kB / 2.815 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/4.183, allocations: 1.171 MB / 2.816 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/4.183, allocations: 48 kB / 2.816 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/4.183, allocations: 76 kB / 2.816 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002374/4.185, allocations: 1.399 MB / 2.818 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/4.187, allocations: 1.221 MB / 2.819 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/4.188, allocations: 3.938 kB / 2.819 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/4.188, allocations: 7.906 kB / 2.819 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/4.188, allocations: 32 kB / 2.819 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006771/4.194, allocations: 4.786 MB / 2.824 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/4.196, allocations: 1.145 MB / 2.825 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/4.196, allocations: 436.5 kB / 2.825 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/4.197, allocations: 0.5007 MB / 2.826 GB, free: 26.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/4.198, allocations: 0.5817 MB / 2.826 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=98): time 5.53e-06/4.198, allocations: 4 kB / 2.826 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98): time 0.003223/4.201, allocations: 1.146 MB / 2.827 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/4.201, allocations: 252.1 kB / 2.827 GB, free: 24.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/4.202, allocations: 0.6174 MB / 2.828 GB, free: 23.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/4.202, allocations: 29.7 kB / 2.828 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/4.203, allocations: 467.3 kB / 2.829 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/4.203, allocations: 315.2 kB / 2.829 GB, free: 22.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/4.203, allocations: 0 / 2.829 GB, free: 22.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.83e-05/4.203, allocations: 341.9 kB / 2.829 GB, free: 22.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/4.204, allocations: 329.9 kB / 2.829 GB, free: 22.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/4.204, allocations: 0.5199 MB / 2.83 GB, free: 21.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/4.205, allocations: 0.5093 MB / 2.83 GB, free: 21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/4.205, allocations: 0 / 2.83 GB, free: 21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002582/4.208, allocations: 1.124 MB / 2.832 GB, free: 19.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/4.208, allocations: 7.906 kB / 2.832 GB, free: 19.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/4.208, allocations: 4 kB / 2.832 GB, free: 19.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/4.208, allocations: 93.14 kB / 2.832 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/4.21, allocations: 231.7 kB / 2.832 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/4.211, allocations: 1.472 MB / 2.833 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/4.212, allocations: 103.4 kB / 2.833 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/4.213, allocations: 47.91 kB / 2.833 GB, free: 17.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0002589/4.213, allocations: 128.7 kB / 2.834 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/4.213, allocations: 98.78 kB / 2.834 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/4.216, allocations: 1.405 MB / 2.835 GB, free: 16.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/4.216, allocations: 12 kB / 2.835 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/4.216, allocations: 4 kB / 2.835 GB, free: 16.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/4.216, allocations: 7.922 kB / 2.835 GB, free: 16.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/4.221, allocations: 2.579 MB / 2.838 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/4.221, allocations: 4 kB / 2.838 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/4.222, allocations: 215.8 kB / 2.838 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005312/4.223, allocations: 84.78 kB / 2.838 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/4.223, allocations: 19.97 kB / 2.838 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/4.225, allocations: 1.488 MB / 2.839 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/4.225, allocations: 3.906 kB / 2.839 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002551/4.227, allocations: 1.267 MB / 2.841 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/4.228, allocations: 355.4 kB / 2.841 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/4.228, allocations: 3.984 kB / 2.841 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/4.229, allocations: 91.83 kB / 2.841 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/4.229, allocations: 64.89 kB / 2.841 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/4.23, allocations: 43.97 kB / 2.841 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006879/4.23, allocations: 495.1 kB / 2.842 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001926/4.232, allocations: 0.5647 MB / 2.842 GB, free: 8.699 MB / 0.6042 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.003289/4.235, allocations: 1.976 MB / 2.844 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001691/4.237, allocations: 0.9749 MB / 2.845 GB, free: 5.824 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/4.237, allocations: 4.75 kB / 2.845 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008673/4.238, allocations: 0.6144 MB / 2.846 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/4.24, allocations: 345.1 kB / 2.846 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/4.245, allocations: 1.868 MB / 2.848 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/4.247, allocations: 1.356 MB / 2.849 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/4.247, allocations: 0 / 2.849 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of Templates: time 0.2552/4.502, allocations: 29.58 MB / 2.878 GB, free: 153.9 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)