Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.996/1.996, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 174 kB / 490.8 MB, free: 11.23 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.274/1.274, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 105.5 kB / 0.9264 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3339/0.3349, allocations: 149.1 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/1.095, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.865/4.96, allocations: 1.908 GB / 3.119 GB, free: 216.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/4.96, allocations: 84.7 kB / 3.12 GB, free: 216.1 MB / 1.167 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 1.507/6.467, allocations: 401.4 MB / 3.512 GB, free: 272.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/6.467, allocations: 8 kB / 3.512 GB, free: 272.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/6.47, allocations: 368.8 kB / 3.512 GB, free: 272.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004534/6.475, allocations: 1.129 MB / 3.513 GB, free: 271.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/6.475, allocations: 40 kB / 3.513 GB, free: 271.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/6.476, allocations: 64 kB / 3.513 GB, free: 271.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003351/6.479, allocations: 1.292 MB / 3.514 GB, free: 269.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/6.482, allocations: 1.047 MB / 3.515 GB, free: 268.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/6.482, allocations: 0 / 3.515 GB, free: 268.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/6.482, allocations: 0 / 3.515 GB, free: 268.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/6.482, allocations: 28 kB / 3.515 GB, free: 268.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006912/6.489, allocations: 3.57 MB / 3.519 GB, free: 265 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/6.49, allocations: 0.9442 MB / 3.52 GB, free: 264.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/6.491, allocations: 395.4 kB / 3.52 GB, free: 263.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/6.492, allocations: 0.4995 MB / 3.521 GB, free: 263.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008088/6.493, allocations: 0.5503 MB / 3.521 GB, free: 262.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.576e-06/6.493, allocations: 0 / 3.521 GB, free: 262.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.003377/6.496, allocations: 1.115 MB / 3.522 GB, free: 261.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/6.496, allocations: 240.1 kB / 3.523 GB, free: 261.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/6.497, allocations: 0.6133 MB / 3.523 GB, free: 260.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/6.497, allocations: 29.7 kB / 3.523 GB, free: 260.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/6.497, allocations: 395.9 kB / 3.524 GB, free: 260.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/6.498, allocations: 315.2 kB / 3.524 GB, free: 259.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/6.498, allocations: 0 / 3.524 GB, free: 259.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/6.498, allocations: 341.9 kB / 3.524 GB, free: 259.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/6.498, allocations: 309.9 kB / 3.524 GB, free: 259.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/6.499, allocations: 457.7 kB / 3.525 GB, free: 258.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/6.5, allocations: 0.5097 MB / 3.525 GB, free: 258.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/6.5, allocations: 4 kB / 3.525 GB, free: 258.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002608/6.503, allocations: 1.104 MB / 3.526 GB, free: 257 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/6.503, allocations: 8 kB / 3.526 GB, free: 257 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/6.503, allocations: 0 / 3.526 GB, free: 257 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006525/6.503, allocations: 84.84 kB / 3.527 GB, free: 256.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/6.504, allocations: 211.7 kB / 3.527 GB, free: 256.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/6.506, allocations: 1.461 MB / 3.528 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/6.507, allocations: 90.41 kB / 3.528 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/6.508, allocations: 43.97 kB / 3.528 GB, free: 255 MB / 1.167 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.0003088/6.508, allocations: 124.8 kB / 3.528 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/6.508, allocations: 102.8 kB / 3.529 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/6.512, allocations: 1.442 MB / 3.53 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/6.512, allocations: 8 kB / 3.53 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/6.512, allocations: 8 kB / 3.53 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/6.512, allocations: 3.984 kB / 3.53 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005596/6.518, allocations: 2.548 MB / 3.532 GB, free: 250.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/6.518, allocations: 4 kB / 3.532 GB, free: 250.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/6.519, allocations: 199.7 kB / 3.533 GB, free: 250.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005452/6.519, allocations: 88.91 kB / 3.533 GB, free: 250.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.303e-05/6.519, allocations: 19.98 kB / 3.533 GB, free: 250.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/6.521, allocations: 1.496 MB / 3.534 GB, free: 248.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/6.521, allocations: 4 kB / 3.534 GB, free: 248.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003176/6.524, allocations: 1.814 MB / 3.536 GB, free: 246.9 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0041/6.528, allocations: 2.832 MB / 3.539 GB, free: 244 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/6.529, allocations: 347.6 kB / 3.539 GB, free: 243.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/6.529, allocations: 7.938 kB / 3.539 GB, free: 243.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/6.53, allocations: 67.94 kB / 3.539 GB, free: 243.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/6.531, allocations: 72.8 kB / 3.539 GB, free: 243.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/6.531, allocations: 39.98 kB / 3.539 GB, free: 243.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0008993/6.532, allocations: 0.4952 MB / 3.54 GB, free: 242.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003494/6.535, allocations: 0.7323 MB / 3.54 GB, free: 242.2 MB / 1.167 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.004916/6.54, allocations: 1.971 MB / 3.542 GB, free: 240.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002719/6.543, allocations: 0.9242 MB / 3.543 GB, free: 239.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/6.543, allocations: 4.062 kB / 3.543 GB, free: 239.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/6.544, allocations: 0.5677 MB / 3.544 GB, free: 239 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/6.546, allocations: 350.3 kB / 3.544 GB, free: 238.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/6.551, allocations: 1.965 MB / 3.546 GB, free: 236.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/6.553, allocations: 1.305 MB / 3.547 GB, free: 235.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/6.553, allocations: 0 / 3.547 GB, free: 235.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat does not exist to compare? outputFormat=mat