Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001181/0.001181, allocations: 177.4 kB / 366.3 MB, free: 2.023 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.53/1.53, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.000913/0.0009129, allocations: 88.91 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2984/0.2993, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6754/0.9747, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.503/5.478, allocations: 2.102 GB / 3.074 GB, free: 352.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/5.478, allocations: 88.39 kB / 3.074 GB, free: 352.6 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.306/6.784, allocations: 396.3 MB / 3.461 GB, free: 228.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/6.784, allocations: 15.23 kB / 3.461 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/6.786, allocations: 364.2 kB / 3.462 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/6.788, allocations: 1.11 MB / 3.463 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/6.788, allocations: 33.66 kB / 3.463 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/6.789, allocations: 63.81 kB / 3.463 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001861/6.79, allocations: 1.297 MB / 3.464 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/6.792, allocations: 1.028 MB / 3.465 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/6.792, allocations: 6.531 kB / 3.465 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/6.792, allocations: 0 / 3.465 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/6.792, allocations: 29.72 kB / 3.465 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005276/6.797, allocations: 3.499 MB / 3.469 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/6.799, allocations: 0.9409 MB / 3.47 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/6.799, allocations: 387.7 kB / 3.47 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/6.8, allocations: 0.5056 MB / 3.47 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007012/6.801, allocations: 0.5471 MB / 3.471 GB, free: 226 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 3.196e-06/6.801, allocations: 0 / 3.471 GB, free: 226 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.003062/6.804, allocations: 1.113 MB / 3.472 GB, free: 225.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/6.804, allocations: 246.9 kB / 3.472 GB, free: 225.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/6.805, allocations: 0.6132 MB / 3.473 GB, free: 225.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-05/6.805, allocations: 29.33 kB / 3.473 GB, free: 225.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/6.805, allocations: 386.8 kB / 3.473 GB, free: 225.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/6.805, allocations: 321.2 kB / 3.474 GB, free: 225.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/6.805, allocations: 0 / 3.474 GB, free: 225.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/6.805, allocations: 335.9 kB / 3.474 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/6.806, allocations: 308 kB / 3.474 GB, free: 224.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/6.806, allocations: 459 kB / 3.475 GB, free: 224.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/6.807, allocations: 0.5155 MB / 3.475 GB, free: 224.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/6.807, allocations: 6.844 kB / 3.475 GB, free: 224.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002392/6.81, allocations: 1.09 MB / 3.476 GB, free: 224.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/6.81, allocations: 7.812 kB / 3.476 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/6.81, allocations: 0 / 3.476 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/6.81, allocations: 90.39 kB / 3.476 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/6.811, allocations: 209 kB / 3.476 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/6.813, allocations: 1.473 MB / 3.478 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/6.814, allocations: 93.7 kB / 3.478 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.024e-05/6.814, allocations: 41.81 kB / 3.478 GB, free: 223.3 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.0001933/6.814, allocations: 124.2 kB / 3.478 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/6.814, allocations: 95.19 kB / 3.478 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/6.817, allocations: 1.45 MB / 3.48 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/6.817, allocations: 10.84 kB / 3.48 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/6.818, allocations: 0 / 3.48 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/6.818, allocations: 3.891 kB / 3.48 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/6.822, allocations: 2.542 MB / 3.482 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/6.822, allocations: 0 / 3.482 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009181/6.823, allocations: 199.9 kB / 3.482 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/6.823, allocations: 89.84 kB / 3.482 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/6.824, allocations: 21.19 kB / 3.482 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/6.825, allocations: 1.488 MB / 3.484 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/6.825, allocations: 6.094 kB / 3.484 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003451/6.829, allocations: 1.821 MB / 3.486 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004216/6.833, allocations: 2.828 MB / 3.488 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/6.834, allocations: 338.7 kB / 3.489 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/6.834, allocations: 6.531 kB / 3.489 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009065/6.835, allocations: 76.67 kB / 3.489 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/6.835, allocations: 61.75 kB / 3.489 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/6.835, allocations: 43.12 kB / 3.489 GB, free: 220.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006346/6.836, allocations: 0.4913 MB / 3.489 GB, free: 220 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002692/6.838, allocations: 0.7074 MB / 3.49 GB, free: 219.9 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.002781/6.841, allocations: 1.934 MB / 3.492 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001708/6.843, allocations: 0.9158 MB / 3.493 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/6.843, allocations: 0 / 3.493 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008463/6.844, allocations: 0.5777 MB / 3.493 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/6.846, allocations: 346 kB / 3.494 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/6.85, allocations: 1.953 MB / 3.496 GB, free: 218.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000969/6.851, allocations: 1.303 MB / 3.497 GB, free: 218.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/6.851, allocations: 0 / 3.497 GB, free: 218.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)