Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.174/2.174, allocations: 253.1 MB / 260.4 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001676, allocations: 185.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 0.5704 GB, free: 14.95 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002654/0.002654, allocations: 93.95 kB / 0.6746 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.204e-05/1.219e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2377, allocations: 106.3 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.606/5.844, allocations: 2.219 GB / 3.107 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004056/5.844, allocations: 86.12 kB / 3.107 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.712/7.556, allocations: 395.3 MB / 3.493 GB, free: 89.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001608/7.556, allocations: 43.94 kB / 3.493 GB, free: 89.33 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004518/7.561, allocations: 1.629 MB / 3.495 GB, free: 87.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/7.561, allocations: 8.031 kB / 3.495 GB, free: 87.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/7.565, allocations: 421.5 kB / 3.495 GB, free: 87.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004304/7.57, allocations: 1.172 MB / 3.496 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/7.57, allocations: 43.91 kB / 3.497 GB, free: 85.97 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/7.57, allocations: 76 kB / 3.497 GB, free: 85.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003702/7.574, allocations: 1.391 MB / 3.498 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/7.577, allocations: 1.217 MB / 3.499 GB, free: 83.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/7.577, allocations: 3.938 kB / 3.499 GB, free: 83.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/7.577, allocations: 0 / 3.499 GB, free: 83.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/7.578, allocations: 32 kB / 3.499 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/7.588, allocations: 4.779 MB / 3.504 GB, free: 78.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/7.591, allocations: 0.9918 MB / 3.505 GB, free: 77.17 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009549/7.592, allocations: 432.9 kB / 3.505 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/7.593, allocations: 0.4982 MB / 3.506 GB, free: 76.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/7.594, allocations: 0.6019 MB / 3.506 GB, free: 75.54 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 4.509e-06/7.594, allocations: 0 / 3.506 GB, free: 75.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.005222/7.6, allocations: 1.146 MB / 3.507 GB, free: 74.38 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.704e-05/7.6, allocations: 240.1 kB / 3.508 GB, free: 74.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/7.601, allocations: 0.633 MB / 3.508 GB, free: 73.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/7.601, allocations: 25.7 kB / 3.508 GB, free: 73.42 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/7.602, allocations: 471.3 kB / 3.509 GB, free: 72.95 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/7.602, allocations: 315.3 kB / 3.509 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/7.602, allocations: 0 / 3.509 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/7.602, allocations: 338 kB / 3.509 GB, free: 72.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/7.603, allocations: 329.9 kB / 3.51 GB, free: 71.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009831/7.604, allocations: 0.516 MB / 3.51 GB, free: 71.39 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/7.606, allocations: 0.4995 MB / 3.511 GB, free: 70.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/7.606, allocations: 8 kB / 3.511 GB, free: 70.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004373/7.61, allocations: 1.124 MB / 3.512 GB, free: 69.76 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/7.61, allocations: 8 kB / 3.512 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/7.61, allocations: 0 / 3.512 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/7.612, allocations: 89.16 kB / 3.512 GB, free: 69.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/7.614, allocations: 231.7 kB / 3.512 GB, free: 69.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/7.617, allocations: 1.476 MB / 3.514 GB, free: 67.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/7.618, allocations: 107.3 kB / 3.514 GB, free: 67.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/7.619, allocations: 43.97 kB / 3.514 GB, free: 67.69 MB / 0.8698 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.0003813/7.619, allocations: 137.1 kB / 3.514 GB, free: 67.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/7.619, allocations: 98.78 kB / 3.514 GB, free: 67.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/7.625, allocations: 1.405 MB / 3.515 GB, free: 66.03 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/7.625, allocations: 12 kB / 3.515 GB, free: 66.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/7.625, allocations: 0 / 3.515 GB, free: 66.02 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/7.625, allocations: 3.984 kB / 3.515 GB, free: 66.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/7.627, allocations: 1.084 MB / 3.516 GB, free: 64.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/7.627, allocations: 0 / 3.516 GB, free: 64.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/7.63, allocations: 227.7 kB / 3.517 GB, free: 64.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009803/7.631, allocations: 80.78 kB / 3.517 GB, free: 64.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/7.631, allocations: 19.97 kB / 3.517 GB, free: 64.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/7.633, allocations: 1.484 MB / 3.518 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/7.633, allocations: 3.984 kB / 3.518 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004594/7.638, allocations: 1.195 MB / 3.519 GB, free: 61.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/7.639, allocations: 371.3 kB / 3.52 GB, free: 61.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/7.639, allocations: 0 / 3.52 GB, free: 61.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/7.641, allocations: 83.92 kB / 3.52 GB, free: 61.28 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/7.641, allocations: 68.8 kB / 3.52 GB, free: 61.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/7.642, allocations: 47.97 kB / 3.52 GB, free: 61.17 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009878/7.643, allocations: 0.4913 MB / 3.52 GB, free: 60.68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002388/7.645, allocations: 0.5298 MB / 3.521 GB, free: 60.15 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.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.003766/7.649, allocations: 1.952 MB / 3.523 GB, free: 58.24 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002923/7.652, allocations: 0.9788 MB / 3.524 GB, free: 57.25 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/7.652, allocations: 192 / 3.524 GB, free: 57.25 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/7.653, allocations: 0.6074 MB / 3.524 GB, free: 56.63 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/7.656, allocations: 347.3 kB / 3.525 GB, free: 56.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/7.664, allocations: 1.883 MB / 3.526 GB, free: 54.37 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/7.666, allocations: 1.355 MB / 3.528 GB, free: 52.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.512e-06/7.666, allocations: 0 / 3.528 GB, free: 52.98 MB / 0.8698 GB Notification: Performance of Templates: time 0.07361/7.74, allocations: 29.52 MB / 3.557 GB, free: 23.66 MB / 0.8698 GB