Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 249.4 MB / 256.7 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009121/0.0009122, allocations: 173.2 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000795/0.0007947, allocations: 90.7 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3289/0.3298, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.4891, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.879/4.368, allocations: 2.219 GB / 3.104 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/4.369, allocations: 82.52 kB / 3.104 GB, free: 138.7 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 1.125/5.493, allocations: 397 MB / 3.492 GB, free: 72.35 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/5.494, allocations: 12 kB / 3.492 GB, free: 72.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/5.497, allocations: 413.6 kB / 3.492 GB, free: 71.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/5.499, allocations: 1.176 MB / 3.493 GB, free: 70.74 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/5.499, allocations: 40 kB / 3.493 GB, free: 70.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/5.5, allocations: 76 kB / 3.493 GB, free: 70.63 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002087/5.502, allocations: 1.387 MB / 3.495 GB, free: 69.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/5.504, allocations: 1.217 MB / 3.496 GB, free: 67.95 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/5.504, allocations: 7.938 kB / 3.496 GB, free: 67.94 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/5.504, allocations: 0 / 3.496 GB, free: 67.94 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/5.504, allocations: 35.98 kB / 3.496 GB, free: 67.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006467/5.51, allocations: 4.777 MB / 3.501 GB, free: 62.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/5.512, allocations: 0.9965 MB / 3.502 GB, free: 61.94 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/5.512, allocations: 428.9 kB / 3.502 GB, free: 61.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007173/5.513, allocations: 0.5081 MB / 3.503 GB, free: 60.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007696/5.514, allocations: 0.5934 MB / 3.503 GB, free: 60.31 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 3.887e-06/5.514, allocations: 0 / 3.503 GB, free: 60.31 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.003133/5.517, allocations: 1.135 MB / 3.504 GB, free: 59.17 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/5.517, allocations: 244.1 kB / 3.504 GB, free: 58.88 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009802/5.518, allocations: 0.6369 MB / 3.505 GB, free: 58.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/5.518, allocations: 25.7 kB / 3.505 GB, free: 58.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/5.518, allocations: 467.4 kB / 3.506 GB, free: 57.73 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/5.519, allocations: 315.3 kB / 3.506 GB, free: 57.42 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/5.519, allocations: 0 / 3.506 GB, free: 57.42 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/5.519, allocations: 341.9 kB / 3.506 GB, free: 57.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/5.519, allocations: 325.9 kB / 3.506 GB, free: 56.76 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/5.52, allocations: 0.5108 MB / 3.507 GB, free: 56.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/5.521, allocations: 0.514 MB / 3.507 GB, free: 55.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/5.521, allocations: 4 kB / 3.507 GB, free: 55.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002487/5.523, allocations: 1.124 MB / 3.509 GB, free: 54.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/5.523, allocations: 4 kB / 3.509 GB, free: 54.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/5.523, allocations: 4.094 kB / 3.509 GB, free: 54.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/5.524, allocations: 98.89 kB / 3.509 GB, free: 54.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/5.525, allocations: 227.7 kB / 3.509 GB, free: 54.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/5.527, allocations: 1.476 MB / 3.51 GB, free: 52.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/5.528, allocations: 107.3 kB / 3.51 GB, free: 52.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/5.528, allocations: 43.88 kB / 3.51 GB, free: 52.46 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.0002745/5.528, allocations: 124.8 kB / 3.511 GB, free: 52.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/5.529, allocations: 102.8 kB / 3.511 GB, free: 52.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/5.532, allocations: 1.405 MB / 3.512 GB, free: 50.81 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/5.532, allocations: 12 kB / 3.512 GB, free: 50.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/5.532, allocations: 0 / 3.512 GB, free: 50.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/5.532, allocations: 3.984 kB / 3.512 GB, free: 50.79 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/5.534, allocations: 1.087 MB / 3.513 GB, free: 49.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/5.534, allocations: 0 / 3.513 GB, free: 49.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/5.535, allocations: 219.8 kB / 3.513 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005237/5.535, allocations: 80.78 kB / 3.513 GB, free: 49.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/5.535, allocations: 27.91 kB / 3.513 GB, free: 49.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/5.537, allocations: 1.481 MB / 3.515 GB, free: 47.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/5.537, allocations: 4.031 kB / 3.515 GB, free: 47.77 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002461/5.539, allocations: 1.184 MB / 3.516 GB, free: 46.56 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002725/5.542, allocations: 1.676 MB / 3.518 GB, free: 44.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/5.543, allocations: 363.4 kB / 3.518 GB, free: 44.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/5.543, allocations: 4 kB / 3.518 GB, free: 44.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/5.544, allocations: 91.81 kB / 3.518 GB, free: 44.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/5.544, allocations: 60.91 kB / 3.518 GB, free: 44.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/5.545, allocations: 43.97 kB / 3.518 GB, free: 44.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006692/5.545, allocations: 0.4913 MB / 3.519 GB, free: 43.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002724/5.548, allocations: 0.7406 MB / 3.519 GB, free: 43.06 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.00292/5.551, allocations: 1.941 MB / 3.521 GB, free: 41.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0017/5.553, allocations: 0.9788 MB / 3.522 GB, free: 40.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/5.553, allocations: 192 / 3.522 GB, free: 40.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008956/5.554, allocations: 0.6113 MB / 3.523 GB, free: 39.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/5.555, allocations: 343.3 kB / 3.523 GB, free: 39.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/5.56, allocations: 1.891 MB / 3.525 GB, free: 37.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/5.562, allocations: 1.359 MB / 3.526 GB, free: 35.88 MB / 0.8698 GB Notification: Performance of SimCode: time 1.152e-06/5.562, allocations: 0 / 3.526 GB, free: 35.88 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)