Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.995/1.995, allocations: 387.2 MB / 394.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001094, allocations: 188.6 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009081, allocations: 94.11 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.565/0.5659, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.8401, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.477/5.317, allocations: 1.906 GB / 3.112 GB, free: 416.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/5.318, allocations: 91.94 kB / 3.112 GB, free: 416.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.7281/6.046, allocations: 401.4 MB / 3.504 GB, free: 7.648 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/6.046, allocations: 12 kB / 3.504 GB, free: 7.637 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/6.048, allocations: 361.8 kB / 3.504 GB, free: 7.281 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/6.051, allocations: 1.113 MB / 3.505 GB, free: 6.125 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/6.051, allocations: 40 kB / 3.505 GB, free: 6.086 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/6.051, allocations: 68 kB / 3.505 GB, free: 6.02 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001926/6.053, allocations: 1.296 MB / 3.507 GB, free: 4.719 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/6.055, allocations: 1.039 MB / 3.508 GB, free: 3.617 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/6.055, allocations: 0 / 3.508 GB, free: 3.617 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.465e-05/6.055, allocations: 4 kB / 3.508 GB, free: 3.613 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/6.055, allocations: 24 kB / 3.508 GB, free: 3.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5634/6.618, allocations: 3.59 MB / 3.511 GB, free: 423.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/6.62, allocations: 0.9398 MB / 3.512 GB, free: 423.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/6.621, allocations: 391.3 kB / 3.513 GB, free: 423.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/6.621, allocations: 0.4988 MB / 3.513 GB, free: 423.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007476/6.622, allocations: 0.5491 MB / 3.514 GB, free: 423.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 3.697e-06/6.622, allocations: 0 / 3.514 GB, free: 423.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.003807/6.626, allocations: 1.12 MB / 3.515 GB, free: 423.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/6.626, allocations: 243.6 kB / 3.515 GB, free: 422.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/6.627, allocations: 0.6141 MB / 3.515 GB, free: 422.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/6.627, allocations: 25.7 kB / 3.515 GB, free: 422.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/6.628, allocations: 398.5 kB / 3.516 GB, free: 422.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/6.628, allocations: 311.7 kB / 3.516 GB, free: 422.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/6.628, allocations: 0 / 3.516 GB, free: 422.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/6.628, allocations: 347.5 kB / 3.516 GB, free: 422.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/6.629, allocations: 305.1 kB / 3.517 GB, free: 422.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/6.629, allocations: 454.4 kB / 3.517 GB, free: 422.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/6.63, allocations: 0.5199 MB / 3.518 GB, free: 422.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/6.63, allocations: 0 / 3.518 GB, free: 422.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002539/6.633, allocations: 1.1 MB / 3.519 GB, free: 422 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/6.633, allocations: 3.938 kB / 3.519 GB, free: 422 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/6.633, allocations: 0 / 3.519 GB, free: 422 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/6.634, allocations: 92.77 kB / 3.519 GB, free: 421.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009495/6.635, allocations: 207.1 kB / 3.519 GB, free: 421.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/6.636, allocations: 1.468 MB / 3.521 GB, free: 420.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/6.637, allocations: 91.06 kB / 3.521 GB, free: 420.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/6.637, allocations: 37.61 kB / 3.521 GB, free: 420.7 MB / 1.151 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.0002137/6.638, allocations: 122.8 kB / 3.521 GB, free: 420.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/6.638, allocations: 102.3 kB / 3.521 GB, free: 420.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/6.641, allocations: 1.442 MB / 3.522 GB, free: 420.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/6.641, allocations: 11.03 kB / 3.522 GB, free: 420.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/6.641, allocations: 0 / 3.522 GB, free: 420.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/6.641, allocations: 9.781 kB / 3.522 GB, free: 420.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004466/6.645, allocations: 2.554 MB / 3.525 GB, free: 420 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/6.645, allocations: 0 / 3.525 GB, free: 420 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009204/6.646, allocations: 198.8 kB / 3.525 GB, free: 420 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/6.647, allocations: 85.88 kB / 3.525 GB, free: 420 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/6.647, allocations: 21.78 kB / 3.525 GB, free: 420 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/6.649, allocations: 1.482 MB / 3.527 GB, free: 418.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/6.649, allocations: 11.34 kB / 3.527 GB, free: 418.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003067/6.652, allocations: 1.824 MB / 3.528 GB, free: 418.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003954/6.656, allocations: 2.824 MB / 3.531 GB, free: 417.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006099/6.656, allocations: 344 kB / 3.531 GB, free: 417.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/6.657, allocations: 10.97 kB / 3.531 GB, free: 417.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/6.657, allocations: 67 kB / 3.531 GB, free: 417.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/6.658, allocations: 71.78 kB / 3.532 GB, free: 417.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.644e-05/6.658, allocations: 42.94 kB / 3.532 GB, free: 417.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006288/6.658, allocations: 0.4927 MB / 3.532 GB, free: 417.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002542/6.661, allocations: 0.7379 MB / 3.533 GB, free: 417.3 MB / 1.151 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.002699/6.664, allocations: 1.979 MB / 3.535 GB, free: 417 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001553/6.665, allocations: 0.9153 MB / 3.536 GB, free: 416.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/6.665, allocations: 4.188 kB / 3.536 GB, free: 416.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007884/6.666, allocations: 0.5733 MB / 3.536 GB, free: 416.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/6.668, allocations: 344.3 kB / 3.537 GB, free: 416.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/6.672, allocations: 1.964 MB / 3.538 GB, free: 416.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/6.673, allocations: 1.3 MB / 3.54 GB, free: 415.6 MB / 1.151 GB Notification: Performance of SimCode: time 8.41e-07/6.673, allocations: 0 / 3.54 GB, free: 415.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat does not exist to compare? outputFormat=mat