Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.353/1.353, allocations: 285.5 MB / 292.8 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001047, allocations: 185.2 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.096/1.096, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008119/0.0008121, allocations: 82.19 kB / 0.7325 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1873/0.1882, allocations: 121.4 MB / 0.8511 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.6524, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.25/3.903, allocations: 2.101 GB / 3.064 GB, free: 33.56 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/3.903, allocations: 81.22 kB / 3.064 GB, free: 33.48 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 1.178/5.082, allocations: 396.4 MB / 3.451 GB, free: 20.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/5.082, allocations: 8.5 kB / 3.451 GB, free: 20.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002513/5.084, allocations: 365.8 kB / 3.452 GB, free: 20.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/5.087, allocations: 1.102 MB / 3.453 GB, free: 19.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/5.087, allocations: 36 kB / 3.453 GB, free: 19.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/5.088, allocations: 67.98 kB / 3.453 GB, free: 19.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002218/5.09, allocations: 1.296 MB / 3.454 GB, free: 17.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/5.092, allocations: 1.032 MB / 3.455 GB, free: 16.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/5.092, allocations: 11.92 kB / 3.455 GB, free: 16.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/5.092, allocations: 4 kB / 3.455 GB, free: 16.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/5.092, allocations: 28 kB / 3.455 GB, free: 16.65 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006063/5.098, allocations: 3.503 MB / 3.459 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/5.099, allocations: 0.9409 MB / 3.46 GB, free: 12.08 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/5.1, allocations: 395.1 kB / 3.46 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/5.1, allocations: 0.5021 MB / 3.461 GB, free: 11.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007028/5.101, allocations: 0.5426 MB / 3.461 GB, free: 10.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 3.106e-06/5.101, allocations: 0 / 3.461 GB, free: 10.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.003131/5.104, allocations: 1.119 MB / 3.462 GB, free: 9.402 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/5.104, allocations: 244.1 kB / 3.462 GB, free: 9.109 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/5.105, allocations: 0.6132 MB / 3.463 GB, free: 8.492 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/5.105, allocations: 29.7 kB / 3.463 GB, free: 8.457 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/5.106, allocations: 384 kB / 3.463 GB, free: 8.074 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/5.106, allocations: 315.3 kB / 3.464 GB, free: 7.762 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/5.106, allocations: 4 kB / 3.464 GB, free: 7.758 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/5.106, allocations: 341.9 kB / 3.464 GB, free: 7.418 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/5.106, allocations: 301.9 kB / 3.464 GB, free: 7.125 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/5.107, allocations: 457.7 kB / 3.465 GB, free: 6.633 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/5.108, allocations: 0.516 MB / 3.465 GB, free: 6.117 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/5.108, allocations: 3.906 kB / 3.465 GB, free: 6.113 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002509/5.111, allocations: 1.096 MB / 3.466 GB, free: 5.004 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/5.111, allocations: 8.125 kB / 3.466 GB, free: 4.996 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/5.111, allocations: 3.938 kB / 3.466 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/5.111, allocations: 84.78 kB / 3.466 GB, free: 4.906 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009381/5.112, allocations: 207.7 kB / 3.467 GB, free: 4.703 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/5.114, allocations: 1.469 MB / 3.468 GB, free: 3.117 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009077/5.115, allocations: 95.34 kB / 3.468 GB, free: 3.023 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/5.115, allocations: 39.97 kB / 3.468 GB, free: 2.984 MB / 0.948 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.000219/5.115, allocations: 123.6 kB / 3.468 GB, free: 2.859 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/5.116, allocations: 98.78 kB / 3.468 GB, free: 2.762 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/5.119, allocations: 1.45 MB / 3.47 GB, free: 1.289 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/5.119, allocations: 16 kB / 3.47 GB, free: 1.273 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/5.119, allocations: 3.984 kB / 3.47 GB, free: 1.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/5.119, allocations: 3.984 kB / 3.47 GB, free: 1.266 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3587/5.477, allocations: 2.536 MB / 3.472 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/5.478, allocations: 1.734 kB / 3.472 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/5.478, allocations: 199.1 kB / 3.472 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/5.479, allocations: 83.34 kB / 3.473 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/5.479, allocations: 24.61 kB / 3.473 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/5.481, allocations: 1.487 MB / 3.474 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/5.481, allocations: 6.281 kB / 3.474 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002877/5.483, allocations: 1.83 MB / 3.476 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003509/5.487, allocations: 2.822 MB / 3.479 GB, free: 306 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/5.487, allocations: 342.6 kB / 3.479 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/5.488, allocations: 3.594 kB / 3.479 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008111/5.488, allocations: 77.61 kB / 3.479 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/5.489, allocations: 66.44 kB / 3.479 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/5.489, allocations: 43.86 kB / 3.479 GB, free: 305.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005712/5.489, allocations: 0.4949 MB / 3.48 GB, free: 305.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002423/5.492, allocations: 0.7021 MB / 3.48 GB, free: 305.8 MB / 0.948 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.002892/5.495, allocations: 1.919 MB / 3.482 GB, free: 305.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001475/5.496, allocations: 0.9191 MB / 3.483 GB, free: 305.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/5.496, allocations: 3.594 kB / 3.483 GB, free: 305.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007871/5.497, allocations: 0.5812 MB / 3.484 GB, free: 305.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/5.498, allocations: 341.8 kB / 3.484 GB, free: 305.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/5.503, allocations: 1.95 MB / 3.486 GB, free: 304.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009126/5.504, allocations: 1.301 MB / 3.487 GB, free: 304 MB / 0.948 GB Notification: Performance of SimCode: time 3.11e-07/5.504, allocations: 0 / 3.487 GB, free: 304 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)