Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.865/2.865, allocations: 284.8 MB / 292.1 MB, free: 9.863 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.001669/0.001668, allocations: 182.4 kB / 360.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.1 MB / 0.6187 GB, free: 3.316 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 87.83 kB / 0.7317 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5487/0.55, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.8473, allocations: 115.2 MB / 0.9627 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/6.191, allocations: 2.1 GB / 3.063 GB, free: 141 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/6.191, allocations: 86.7 kB / 3.063 GB, free: 141 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 1.843/8.034, allocations: 396.3 MB / 3.45 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/8.034, allocations: 12 kB / 3.45 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/8.037, allocations: 365.8 kB / 3.451 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/8.041, allocations: 1.113 MB / 3.452 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/8.041, allocations: 36 kB / 3.452 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/8.042, allocations: 67.91 kB / 3.452 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003249/8.045, allocations: 1.285 MB / 3.453 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/8.048, allocations: 1.038 MB / 3.454 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/8.048, allocations: 0 / 3.454 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/8.048, allocations: 0 / 3.454 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/8.048, allocations: 31.98 kB / 3.454 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009397/8.057, allocations: 3.512 MB / 3.458 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/8.059, allocations: 0.9421 MB / 3.459 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/8.06, allocations: 394 kB / 3.459 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/8.062, allocations: 0.5021 MB / 3.459 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/8.063, allocations: 0.5504 MB / 3.46 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=97): time 3.907e-06/8.063, allocations: 0 / 3.46 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=97): time 0.005237/8.068, allocations: 1.111 MB / 3.461 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/8.068, allocations: 248 kB / 3.461 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/8.069, allocations: 0.6132 MB / 3.462 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002686/8.07, allocations: 33.7 kB / 3.462 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/8.07, allocations: 388 kB / 3.462 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000363/8.071, allocations: 315.3 kB / 3.463 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/8.071, allocations: 0 / 3.463 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001038/8.071, allocations: 337.9 kB / 3.463 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008513/8.072, allocations: 309.9 kB / 3.463 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/8.073, allocations: 457.7 kB / 3.464 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/8.075, allocations: 0.5219 MB / 3.464 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/8.075, allocations: 4 kB / 3.464 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004614/8.079, allocations: 1.089 MB / 3.465 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/8.08, allocations: 4 kB / 3.465 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/8.08, allocations: 4 kB / 3.465 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/8.081, allocations: 84.84 kB / 3.465 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/8.083, allocations: 207.7 kB / 3.465 GB, free: 99.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/8.085, allocations: 1.476 MB / 3.467 GB, free: 98.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/8.087, allocations: 91.28 kB / 3.467 GB, free: 98.14 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/8.087, allocations: 39.98 kB / 3.467 GB, free: 98.1 MB / 0.9323 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.000326/8.088, allocations: 112.9 kB / 3.467 GB, free: 97.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/8.088, allocations: 102.8 kB / 3.467 GB, free: 97.88 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005522/8.093, allocations: 1.454 MB / 3.469 GB, free: 96.41 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/8.093, allocations: 8 kB / 3.469 GB, free: 96.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/8.093, allocations: 3.906 kB / 3.469 GB, free: 96.39 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/8.093, allocations: 11.97 kB / 3.469 GB, free: 96.38 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007298/8.101, allocations: 2.531 MB / 3.471 GB, free: 93.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/8.101, allocations: 3.984 kB / 3.471 GB, free: 93.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/8.103, allocations: 199.7 kB / 3.471 GB, free: 93.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009369/8.104, allocations: 84.94 kB / 3.471 GB, free: 93.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/8.104, allocations: 19.98 kB / 3.471 GB, free: 93.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/8.106, allocations: 1.5 MB / 3.473 GB, free: 91.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/8.106, allocations: 4 kB / 3.473 GB, free: 91.84 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005383/8.112, allocations: 1.822 MB / 3.475 GB, free: 89.94 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007131/8.119, allocations: 2.825 MB / 3.477 GB, free: 87.04 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009907/8.12, allocations: 339.5 kB / 3.478 GB, free: 86.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/8.12, allocations: 7.984 kB / 3.478 GB, free: 86.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/8.122, allocations: 75.84 kB / 3.478 GB, free: 86.61 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/8.122, allocations: 60.91 kB / 3.478 GB, free: 86.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/8.122, allocations: 47.97 kB / 3.478 GB, free: 86.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009313/8.123, allocations: 0.4952 MB / 3.478 GB, free: 86.01 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00363/8.127, allocations: 0.7058 MB / 3.479 GB, free: 85.3 MB / 0.9323 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.003971/8.131, allocations: 1.929 MB / 3.481 GB, free: 83.42 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002861/8.134, allocations: 0.9243 MB / 3.482 GB, free: 82.49 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/8.134, allocations: 0 / 3.482 GB, free: 82.49 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/8.135, allocations: 0.572 MB / 3.482 GB, free: 81.91 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/8.138, allocations: 345.8 kB / 3.483 GB, free: 81.58 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007851/8.146, allocations: 1.949 MB / 3.485 GB, free: 79.57 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/8.148, allocations: 1.3 MB / 3.486 GB, free: 78.24 MB / 0.9323 GB Notification: Performance of SimCode: time 1.794e-06/8.148, allocations: 0 / 3.486 GB, free: 78.24 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)