Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.362/2.362, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 177.3 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001356/0.001355, allocations: 90.62 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.135e-05/1.173e-05, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.6171, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.067/5.684, allocations: 2.1 GB / 3.063 GB, free: 265 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/5.685, allocations: 88.95 kB / 3.063 GB, free: 265 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.816/7.5, allocations: 404.8 MB / 3.458 GB, free: 221.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001472/7.501, allocations: 37.44 kB / 3.458 GB, free: 221.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005153/7.506, allocations: 1.618 MB / 3.46 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/7.506, allocations: 9.906 kB / 3.46 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/7.511, allocations: 411.6 kB / 3.46 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005/7.516, allocations: 1.165 MB / 3.461 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/7.516, allocations: 41.66 kB / 3.461 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/7.516, allocations: 73.25 kB / 3.461 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004488/7.521, allocations: 1.39 MB / 3.463 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/7.525, allocations: 1.216 MB / 3.464 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/7.525, allocations: 0 / 3.464 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/7.525, allocations: 3.234 kB / 3.464 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/7.525, allocations: 32.03 kB / 3.464 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/7.537, allocations: 4.664 MB / 3.469 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/7.54, allocations: 1.152 MB / 3.47 GB, free: 218 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/7.541, allocations: 436.6 kB / 3.47 GB, free: 218 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/7.542, allocations: 0.4989 MB / 3.471 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001473/7.544, allocations: 0.5928 MB / 3.471 GB, free: 217.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=98): time 4.568e-06/7.544, allocations: 0 / 3.471 GB, free: 217.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=98): time 0.005509/7.549, allocations: 1.142 MB / 3.472 GB, free: 217.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/7.549, allocations: 243.8 kB / 3.473 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/7.551, allocations: 0.6227 MB / 3.473 GB, free: 216.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/7.551, allocations: 30.58 kB / 3.473 GB, free: 216.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/7.551, allocations: 455.5 kB / 3.474 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/7.552, allocations: 317.5 kB / 3.474 GB, free: 216 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/7.552, allocations: 0 / 3.474 GB, free: 216 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/7.552, allocations: 346 kB / 3.474 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009015/7.553, allocations: 327.1 kB / 3.475 GB, free: 215.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/7.554, allocations: 0.5114 MB / 3.475 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/7.556, allocations: 0.512 MB / 3.476 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/7.556, allocations: 3.156 kB / 3.476 GB, free: 215.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004612/7.561, allocations: 1.129 MB / 3.477 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/7.561, allocations: 5.469 kB / 3.477 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/7.561, allocations: 3.031 kB / 3.477 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/7.562, allocations: 93.83 kB / 3.477 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/7.564, allocations: 231.8 kB / 3.477 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/7.567, allocations: 1.469 MB / 3.478 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/7.569, allocations: 111.5 kB / 3.479 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/7.569, allocations: 36.3 kB / 3.479 GB, free: 213.3 MB / 0.9323 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.000381/7.57, allocations: 131.6 kB / 3.479 GB, free: 213.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/7.57, allocations: 105.7 kB / 3.479 GB, free: 213.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00586/7.576, allocations: 1.4 MB / 3.48 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/7.576, allocations: 12.25 kB / 3.48 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/7.576, allocations: 0 / 3.48 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/7.576, allocations: 6.281 kB / 3.48 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008498/7.585, allocations: 2.576 MB / 3.483 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/7.585, allocations: 3.938 kB / 3.483 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/7.587, allocations: 218.1 kB / 3.483 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000989/7.588, allocations: 92.97 kB / 3.483 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/7.588, allocations: 20.11 kB / 3.483 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/7.591, allocations: 1.483 MB / 3.484 GB, free: 210.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/7.591, allocations: 0 / 3.484 GB, free: 210.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004923/7.596, allocations: 1.259 MB / 3.486 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/7.597, allocations: 353.8 kB / 3.486 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/7.597, allocations: 2.953 kB / 3.486 GB, free: 209.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/7.599, allocations: 91.61 kB / 3.486 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/7.599, allocations: 64.55 kB / 3.486 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/7.599, allocations: 47.16 kB / 3.486 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001023/7.6, allocations: 494.7 kB / 3.487 GB, free: 209.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00252/7.603, allocations: 0.5396 MB / 3.487 GB, free: 209.1 MB / 0.9323 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.004032/7.607, allocations: 1.938 MB / 3.489 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003107/7.61, allocations: 0.9905 MB / 3.49 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/7.61, allocations: 4.531 kB / 3.49 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/7.612, allocations: 0.6015 MB / 3.491 GB, free: 208 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/7.615, allocations: 342.4 kB / 3.491 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/7.624, allocations: 1.859 MB / 3.493 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/7.627, allocations: 1.353 MB / 3.494 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of SimCode: time 3.206e-06/7.627, allocations: 0 / 3.494 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.07624/7.703, allocations: 29.29 MB / 3.523 GB, free: 181.2 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)