Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.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.Outside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside",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.212/1.212, allocations: 249.4 MB / 256.7 MB, free: 6.887 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.001011/0.001011, allocations: 181.1 kB / 316 MB, free: 3.562 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.109/1.109, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0009112/0.0009112, allocations: 97.02 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.318/0.3189, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.4805, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.842/4.322, allocations: 2.22 GB / 3.105 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/4.323, allocations: 86.05 kB / 3.105 GB, free: 142.5 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 1.091/5.414, allocations: 386 MB / 3.482 GB, free: 86.31 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/5.414, allocations: 15.98 kB / 3.482 GB, free: 86.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/5.416, allocations: 361.8 kB / 3.482 GB, free: 85.94 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/5.419, allocations: 1.119 MB / 3.483 GB, free: 84.81 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/5.42, allocations: 36 kB / 3.483 GB, free: 84.78 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/5.42, allocations: 72 kB / 3.483 GB, free: 84.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002195/5.422, allocations: 1.285 MB / 3.484 GB, free: 83.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/5.424, allocations: 1.035 MB / 3.485 GB, free: 82.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/5.424, allocations: 4 kB / 3.485 GB, free: 82.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/5.424, allocations: 4 kB / 3.485 GB, free: 82.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/5.424, allocations: 24 kB / 3.485 GB, free: 82.29 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/5.43, allocations: 3.563 MB / 3.489 GB, free: 78.63 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/5.431, allocations: 0.9474 MB / 3.49 GB, free: 77.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/5.432, allocations: 395.1 kB / 3.49 GB, free: 77.29 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/5.432, allocations: 0.5018 MB / 3.491 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007423/5.433, allocations: 0.5426 MB / 3.491 GB, free: 76.14 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=97): time 3.046e-06/5.433, allocations: 0 / 3.491 GB, free: 76.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97): time 0.003341/5.436, allocations: 1.115 MB / 3.492 GB, free: 75.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/5.437, allocations: 244.1 kB / 3.492 GB, free: 74.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/5.438, allocations: 0.6095 MB / 3.493 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/5.438, allocations: 25.7 kB / 3.493 GB, free: 74.08 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/5.438, allocations: 399.9 kB / 3.493 GB, free: 73.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/5.438, allocations: 307.3 kB / 3.494 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/5.438, allocations: 4 kB / 3.494 GB, free: 73.37 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/5.438, allocations: 337.9 kB / 3.494 GB, free: 73.04 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/5.439, allocations: 309.8 kB / 3.494 GB, free: 72.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/5.439, allocations: 457.7 kB / 3.495 GB, free: 72.24 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/5.441, allocations: 0.5179 MB / 3.495 GB, free: 71.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/5.441, allocations: 0 / 3.495 GB, free: 71.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002412/5.443, allocations: 1.098 MB / 3.496 GB, free: 70.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/5.443, allocations: 12.11 kB / 3.496 GB, free: 70.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/5.443, allocations: 4 kB / 3.496 GB, free: 70.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/5.444, allocations: 84.78 kB / 3.497 GB, free: 70.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/5.445, allocations: 203.7 kB / 3.497 GB, free: 70.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/5.446, allocations: 1.465 MB / 3.498 GB, free: 68.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/5.447, allocations: 99.33 kB / 3.498 GB, free: 68.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/5.447, allocations: 31.98 kB / 3.498 GB, free: 68.61 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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.0002064/5.447, allocations: 127.3 kB / 3.498 GB, free: 68.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/5.448, allocations: 98.78 kB / 3.498 GB, free: 68.38 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/5.451, allocations: 1.446 MB / 3.5 GB, free: 66.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/5.451, allocations: 12 kB / 3.5 GB, free: 66.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/5.451, allocations: 0 / 3.5 GB, free: 66.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/5.451, allocations: 7.891 kB / 3.5 GB, free: 66.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/5.455, allocations: 2.535 MB / 3.502 GB, free: 64.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/5.455, allocations: 192 / 3.502 GB, free: 64.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/5.456, allocations: 203.7 kB / 3.503 GB, free: 64.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/5.456, allocations: 88.78 kB / 3.503 GB, free: 64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/5.457, allocations: 19.98 kB / 3.503 GB, free: 63.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/5.458, allocations: 1.491 MB / 3.504 GB, free: 62.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/5.458, allocations: 4 kB / 3.504 GB, free: 62.37 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002854/5.461, allocations: 1.822 MB / 3.506 GB, free: 60.47 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00366/5.465, allocations: 2.817 MB / 3.509 GB, free: 57.58 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/5.465, allocations: 343.4 kB / 3.509 GB, free: 57.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/5.465, allocations: 11.94 kB / 3.509 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/5.466, allocations: 79.83 kB / 3.509 GB, free: 57.13 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/5.466, allocations: 60.91 kB / 3.509 GB, free: 57.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/5.467, allocations: 43.97 kB / 3.509 GB, free: 57.03 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006117/5.467, allocations: 0.4952 MB / 3.51 GB, free: 56.54 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00256/5.47, allocations: 0.7057 MB / 3.51 GB, free: 55.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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.002638/5.472, allocations: 1.938 MB / 3.512 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001443/5.474, allocations: 0.9125 MB / 3.513 GB, free: 53.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/5.474, allocations: 8.062 kB / 3.513 GB, free: 53.19 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/5.475, allocations: 0.5677 MB / 3.514 GB, free: 52.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/5.476, allocations: 346.5 kB / 3.514 GB, free: 52.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/5.481, allocations: 1.964 MB / 3.516 GB, free: 50.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009915/5.482, allocations: 1.308 MB / 3.517 GB, free: 48.94 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/5.482, allocations: 4 kB / 3.517 GB, free: 48.93 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)