Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.829/1.829, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009401/0.0009403, allocations: 169.3 kB / 487 MB, free: 5.355 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.147/1.147, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.0008431/0.0008431, allocations: 100.6 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4387/0.4395, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.6236, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.578/1.202, allocations: 152.1 MB / 1.354 GB, free: 16.19 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.202, allocations: 87.83 kB / 1.354 GB, free: 16.19 MB / 0.8073 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.02678/1.229, allocations: 9.742 MB / 1.363 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/1.229, allocations: 8.5 kB / 1.363 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/1.229, allocations: 27.62 kB / 1.363 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/1.229, allocations: 271.2 kB / 1.364 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.229, allocations: 8 kB / 1.364 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/1.229, allocations: 8 kB / 1.364 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007319/1.23, allocations: 0.7253 MB / 1.364 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/1.23, allocations: 193.5 kB / 1.365 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.23, allocations: 0 / 1.365 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/1.23, allocations: 0 / 1.365 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.23, allocations: 4 kB / 1.365 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/1.231, allocations: 0.5308 MB / 1.365 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/1.231, allocations: 273.7 kB / 1.365 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/1.231, allocations: 92.59 kB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/1.231, allocations: 26.42 kB / 1.366 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/1.232, allocations: 160.8 kB / 1.366 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/1.232, allocations: 0 / 1.366 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.0004032/1.232, allocations: 259.8 kB / 1.366 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.232, allocations: 136.5 kB / 1.366 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/1.232, allocations: 259 kB / 1.366 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/1.232, allocations: 25.7 kB / 1.366 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/1.232, allocations: 100.2 kB / 1.366 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/1.232, allocations: 108.8 kB / 1.367 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/1.233, allocations: 0 / 1.367 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.79e-05/1.233, allocations: 345.3 kB / 1.367 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/1.233, allocations: 73.67 kB / 1.367 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/1.233, allocations: 111.9 kB / 1.367 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/1.233, allocations: 111.6 kB / 1.367 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.233, allocations: 4 kB / 1.367 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003683/1.233, allocations: 251.9 kB / 1.367 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/1.233, allocations: 8 kB / 1.367 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.233, allocations: 48 / 1.367 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.233, allocations: 3.984 kB / 1.367 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/1.234, allocations: 59.91 kB / 1.367 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/1.234, allocations: 0 / 1.367 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/1.234, allocations: 31.73 kB / 1.367 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/1.234, allocations: 19.73 kB / 1.367 GB, free: 9.867 MB / 0.8073 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 (35): * Single equations (assignments): 35 * 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.885e-05/1.234, allocations: 108.9 kB / 1.368 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/1.234, allocations: 27.62 kB / 1.368 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/1.235, allocations: 371.2 kB / 1.368 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.235, allocations: 4 kB / 1.368 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.235, allocations: 0 / 1.368 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.235, allocations: 0 / 1.368 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/1.235, allocations: 296.9 kB / 1.368 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.235, allocations: 4 kB / 1.368 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/1.235, allocations: 59.91 kB / 1.368 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.235, allocations: 0 / 1.368 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/1.235, allocations: 11.86 kB / 1.368 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.235, allocations: 0 / 1.368 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.235, allocations: 4 kB / 1.368 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003498/1.235, allocations: 299.8 kB / 1.369 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003972/1.236, allocations: 0.6719 MB / 1.369 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/1.236, allocations: 158.5 kB / 1.369 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/1.236, allocations: 4 kB / 1.369 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.236, allocations: 8 kB / 1.369 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/1.236, allocations: 19.95 kB / 1.369 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/1.236, allocations: 15.69 kB / 1.369 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001475/1.236, allocations: 211.7 kB / 1.37 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008817/1.237, allocations: 71.75 kB / 1.37 GB, free: 7.762 MB / 0.8073 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 (34): * Single equations (assignments): 33 * 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.0006278/1.238, allocations: 315.2 kB / 1.37 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002857/1.238, allocations: 221.2 kB / 1.37 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.238, allocations: 4 kB / 1.37 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/1.238, allocations: 119.2 kB / 1.37 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/1.239, allocations: 21.67 kB / 1.37 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/1.239, allocations: 409 kB / 1.371 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/1.24, allocations: 0.8116 MB / 1.372 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of SimCode: time 2.7e-07/1.24, allocations: 0 / 1.372 GB, free: 6.066 MB / 0.8073 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat does not exist to compare? outputFormat=mat