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: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 188.9 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4591/0.4591, allocations: 90.84 MB / 99.07 MB, free: 14.94 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.248/1.248, allocations: 221.4 MB / 342.7 MB, free: 5.266 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.0009388/0.0009388, allocations: 99.56 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1577/0.1587, allocations: 78.44 MB / 494 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.5116, allocations: 72.3 MB / 0.553 GB, free: 73.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.654/4.166, allocations: 1.859 GB / 2.412 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/4.166, allocations: 87.95 kB / 2.412 GB, free: 202.1 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 1.206/5.373, allocations: 411.9 MB / 2.815 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/5.373, allocations: 15.98 kB / 2.815 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/5.376, allocations: 421.5 kB / 2.815 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/5.379, allocations: 1.158 MB / 2.816 GB, free: 21.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/5.379, allocations: 44 kB / 2.816 GB, free: 21.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/5.379, allocations: 72 kB / 2.816 GB, free: 21.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002612/5.382, allocations: 1.399 MB / 2.818 GB, free: 20.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/5.385, allocations: 1.229 MB / 2.819 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/5.385, allocations: 0 / 2.819 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/5.385, allocations: 11.89 kB / 2.819 GB, free: 18.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/5.385, allocations: 32 kB / 2.819 GB, free: 18.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007818/5.393, allocations: 4.78 MB / 2.824 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/5.394, allocations: 1.159 MB / 2.825 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/5.395, allocations: 431.1 kB / 2.825 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/5.396, allocations: 0.4982 MB / 2.826 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000823/5.396, allocations: 0.5856 MB / 2.826 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=98): time 4.078e-06/5.396, allocations: 0 / 2.826 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98): time 0.003409/5.4, allocations: 1.142 MB / 2.827 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/5.4, allocations: 248.1 kB / 2.828 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009811/5.401, allocations: 0.6135 MB / 2.828 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/5.401, allocations: 29.7 kB / 2.828 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/5.402, allocations: 475.2 kB / 2.829 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/5.402, allocations: 319.2 kB / 2.829 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/5.402, allocations: 0 / 2.829 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.643e-05/5.402, allocations: 341.9 kB / 2.829 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/5.402, allocations: 325.9 kB / 2.83 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/5.403, allocations: 0.5175 MB / 2.83 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/5.404, allocations: 0.5093 MB / 2.831 GB, free: 6.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/5.404, allocations: 4 kB / 2.831 GB, free: 6.477 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002608/5.407, allocations: 1.143 MB / 2.832 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/5.407, allocations: 7.906 kB / 2.832 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/5.407, allocations: 4 kB / 2.832 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/5.407, allocations: 85.16 kB / 2.832 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/5.409, allocations: 231.7 kB / 2.832 GB, free: 5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/5.41, allocations: 1.476 MB / 2.833 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/5.411, allocations: 103.3 kB / 2.834 GB, free: 3.301 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/5.412, allocations: 39.98 kB / 2.834 GB, free: 3.262 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.0002519/5.412, allocations: 132.7 kB / 2.834 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/5.412, allocations: 98.78 kB / 2.834 GB, free: 3.027 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/5.415, allocations: 1.405 MB / 2.835 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/5.416, allocations: 12 kB / 2.835 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/5.416, allocations: 0 / 2.835 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/5.416, allocations: 3.984 kB / 2.835 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2901/5.706, allocations: 2.578 MB / 2.838 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/5.706, allocations: 0 / 2.838 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/5.707, allocations: 218.6 kB / 2.838 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/5.707, allocations: 92.61 kB / 2.838 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-05/5.708, allocations: 21.53 kB / 2.838 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/5.709, allocations: 1.488 MB / 2.84 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/5.709, allocations: 0 / 2.84 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002817/5.712, allocations: 1.264 MB / 2.841 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003039/5.715, allocations: 1.733 MB / 2.842 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/5.716, allocations: 359.7 kB / 2.843 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/5.716, allocations: 3.969 kB / 2.843 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/5.717, allocations: 83.39 kB / 2.843 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/5.717, allocations: 65.77 kB / 2.843 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/5.717, allocations: 46.88 kB / 2.843 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006553/5.718, allocations: 499.7 kB / 2.843 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002893/5.721, allocations: 0.7635 MB / 2.844 GB, free: 154 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.003114/5.724, allocations: 1.974 MB / 2.846 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001838/5.726, allocations: 0.9856 MB / 2.847 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/5.726, allocations: 0 / 2.847 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008757/5.727, allocations: 0.6078 MB / 2.848 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/5.729, allocations: 346.6 kB / 2.848 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/5.735, allocations: 1.87 MB / 2.85 GB, free: 153 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/5.736, allocations: 1.354 MB / 2.851 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.843e-06/5.736, allocations: 2.875 kB / 2.851 GB, free: 152.3 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)