Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001792/0.001792, allocations: 177.2 kB / 7.461 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5961/0.5961, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.121/1.121, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007879/0.0007875, allocations: 98.97 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.951e-06, allocations: 2.938 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 82.31 MB / 0.6332 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.77/2.877, allocations: 1.869 GB / 2.502 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/2.877, allocations: 84.02 kB / 2.502 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.243/4.12, allocations: 410.2 MB / 2.903 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001003/4.12, allocations: 41.16 kB / 2.903 GB, free: 126.5 MB / 0.6823 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.002837/4.123, allocations: 1.657 MB / 2.904 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/4.123, allocations: 8.656 kB / 2.904 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/4.125, allocations: 421.9 kB / 2.905 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/4.128, allocations: 1.163 MB / 2.906 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/4.128, allocations: 46.39 kB / 2.906 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/4.128, allocations: 77.59 kB / 2.906 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002355/4.13, allocations: 1.394 MB / 2.907 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/4.132, allocations: 1.225 MB / 2.909 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/4.132, allocations: 1 kB / 2.909 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/4.132, allocations: 3.062 kB / 2.909 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/4.132, allocations: 34.34 kB / 2.909 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006276/4.139, allocations: 4.68 MB / 2.913 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/4.14, allocations: 1.155 MB / 2.914 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/4.141, allocations: 427.7 kB / 2.915 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006399/4.141, allocations: 0.5065 MB / 2.915 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007659/4.142, allocations: 0.5869 MB / 2.916 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 2.625e-06/4.142, allocations: 0 / 2.916 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=98): time 0.002935/4.145, allocations: 1.138 MB / 2.917 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/4.145, allocations: 251.4 kB / 2.917 GB, free: 122 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007955/4.146, allocations: 0.6236 MB / 2.918 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/4.146, allocations: 30.64 kB / 2.918 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/4.146, allocations: 465 kB / 2.918 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/4.146, allocations: 315.6 kB / 2.919 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/4.147, allocations: 1.438 kB / 2.919 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.964e-05/4.147, allocations: 346.2 kB / 2.919 GB, free: 121 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/4.147, allocations: 330.7 kB / 2.919 GB, free: 121 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/4.148, allocations: 0.51 MB / 2.92 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/4.149, allocations: 0.5099 MB / 2.92 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/4.149, allocations: 2.344 kB / 2.92 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002381/4.151, allocations: 1.135 MB / 2.921 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/4.151, allocations: 5.656 kB / 2.921 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/4.151, allocations: 3.688 kB / 2.921 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/4.152, allocations: 86.75 kB / 2.921 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/4.153, allocations: 229 kB / 2.922 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/4.154, allocations: 1.48 MB / 2.923 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/4.155, allocations: 104.3 kB / 2.923 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-05/4.155, allocations: 42.16 kB / 2.923 GB, free: 119.2 MB / 0.6823 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.0001963/4.156, allocations: 129.4 kB / 2.923 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/4.156, allocations: 100.7 kB / 2.923 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/4.159, allocations: 1.407 MB / 2.925 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/4.159, allocations: 16.42 kB / 2.925 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/4.159, allocations: 0 / 2.925 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/4.159, allocations: 7.969 kB / 2.925 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/4.163, allocations: 2.562 MB / 2.927 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/4.163, allocations: 0 / 2.927 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/4.164, allocations: 223.3 kB / 2.928 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/4.164, allocations: 89.72 kB / 2.928 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/4.164, allocations: 18.47 kB / 2.928 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/4.166, allocations: 1.484 MB / 2.929 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/4.166, allocations: 3.875 kB / 2.929 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002446/4.168, allocations: 1.264 MB / 2.93 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/4.169, allocations: 351 kB / 2.931 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/4.169, allocations: 1.562 kB / 2.931 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009332/4.17, allocations: 94.56 kB / 2.931 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/4.17, allocations: 61.28 kB / 2.931 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/4.17, allocations: 49.56 kB / 2.931 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006085/4.171, allocations: 0.4905 MB / 2.931 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001637/4.173, allocations: 0.5621 MB / 2.932 GB, free: 115.5 MB / 0.6823 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.002274/4.175, allocations: 1.979 MB / 2.934 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001402/4.176, allocations: 0.9889 MB / 2.935 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/4.176, allocations: 2.188 kB / 2.935 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007205/4.177, allocations: 0.6075 MB / 2.935 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/4.178, allocations: 351.8 kB / 2.936 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/4.183, allocations: 1.875 MB / 2.938 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008931/4.183, allocations: 1.352 MB / 2.939 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/4.183, allocations: 0 / 2.939 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.03669/4.22, allocations: 29.59 MB / 2.968 GB, free: 81.01 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)