Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.8/1.8, allocations: 390.4 MB / 397.7 MB, free: 11.32 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.0009317/0.0009318, allocations: 189.2 kB / 490.8 MB, free: 1.941 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.135/1.135, allocations: 221.3 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000844/0.0008439, allocations: 92.62 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4194/0.4202, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.5977, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.493/1.091, allocations: 153 MB / 1.361 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.091, allocations: 83.52 kB / 1.361 GB, free: 17.21 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.02345/1.114, allocations: 9.823 MB / 1.371 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/1.115, allocations: 9 kB / 1.371 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/1.115, allocations: 27.88 kB / 1.371 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/1.115, allocations: 271.4 kB / 1.371 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/1.115, allocations: 8.156 kB / 1.371 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/1.115, allocations: 9.281 kB / 1.371 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008555/1.116, allocations: 0.7218 MB / 1.372 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/1.116, allocations: 193.7 kB / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.116, allocations: 0 / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/1.116, allocations: 5.031 kB / 1.372 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.116, allocations: 3.938 kB / 1.372 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/1.117, allocations: 0.5254 MB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/1.117, allocations: 209 kB / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/1.117, allocations: 99.22 kB / 1.373 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/1.117, allocations: 16.61 kB / 1.373 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/1.118, allocations: 158.9 kB / 1.373 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/1.118, allocations: 0 / 1.373 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004153/1.118, allocations: 258.9 kB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/1.118, allocations: 133.8 kB / 1.373 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/1.118, allocations: 261.7 kB / 1.374 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/1.118, allocations: 26.89 kB / 1.374 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/1.118, allocations: 99.69 kB / 1.374 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/1.118, allocations: 104.2 kB / 1.374 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/1.118, allocations: 4 kB / 1.374 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/1.119, allocations: 339.9 kB / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/1.119, allocations: 74.58 kB / 1.374 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/1.119, allocations: 115.2 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/1.119, allocations: 96.81 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.119, allocations: 0 / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003602/1.119, allocations: 255 kB / 1.375 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/1.119, allocations: 8.5 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/1.119, allocations: 2.875 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/1.119, allocations: 0.8438 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/1.12, allocations: 57.12 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.12, allocations: 2.656 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/1.12, allocations: 24.45 kB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.12, allocations: 14.08 kB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/1.12, allocations: 111.4 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/1.12, allocations: 28.77 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006189/1.12, allocations: 373.1 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.121, allocations: 7.375 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.121, allocations: 0.6562 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.121, allocations: 2.438 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/1.121, allocations: 302 kB / 1.375 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.121, allocations: 2.234 kB / 1.375 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/1.121, allocations: 53.38 kB / 1.376 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.121, allocations: 5.375 kB / 1.376 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.121, allocations: 14.36 kB / 1.376 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.121, allocations: 1.594 kB / 1.376 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.121, allocations: 3.938 kB / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003785/1.121, allocations: 299.9 kB / 1.376 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005177/1.122, allocations: 0.6625 MB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/1.122, allocations: 158.7 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/1.122, allocations: 0.8125 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/1.122, allocations: 12.19 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/1.122, allocations: 27.62 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/1.122, allocations: 14.12 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001741/1.123, allocations: 216 kB / 1.377 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008496/1.123, allocations: 71.16 kB / 1.377 GB, free: 29.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005722/1.124, allocations: 309.4 kB / 1.377 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003116/1.124, allocations: 206.7 kB / 1.377 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.124, allocations: 0 / 1.377 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.124, allocations: 117.2 kB / 1.378 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/1.125, allocations: 24.5 kB / 1.378 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/1.125, allocations: 397.8 kB / 1.378 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/1.126, allocations: 0.8169 MB / 1.379 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of SimCode: time 9.21e-07/1.126, allocations: 3.938 kB / 1.379 GB, free: 28.48 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat does not exist to compare? outputFormat=mat