Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.164/2.164, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001628/0.001628, allocations: 181.3 kB / 360.3 MB, free: 7.535 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.687/1.687, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001185/0.001184, allocations: 90.38 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2414/0.2426, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.8128, allocations: 115.2 MB / 0.9627 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/1.023, allocations: 140.2 MB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/1.024, allocations: 87.94 kB / 1.1 GB, free: 0.6211 MB / 0.698 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.04146/1.065, allocations: 9.511 MB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.065, allocations: 8 kB / 1.109 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.318e-05/1.065, allocations: 35.55 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/1.066, allocations: 262.6 kB / 1.109 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/1.066, allocations: 8 kB / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/1.066, allocations: 11.38 kB / 1.109 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001583/1.067, allocations: 0.7217 MB / 1.11 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/1.068, allocations: 199.9 kB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.068, allocations: 0 / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/1.068, allocations: 0 / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/1.068, allocations: 4 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/1.069, allocations: 0.5245 MB / 1.111 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/1.07, allocations: 280.1 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/1.07, allocations: 93.41 kB / 1.111 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.527e-05/1.07, allocations: 24.22 kB / 1.111 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/1.071, allocations: 153.9 kB / 1.111 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=34): time 2.485e-06/1.071, allocations: 0 / 1.111 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.0007806/1.072, allocations: 269.1 kB / 1.112 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/1.072, allocations: 132.5 kB / 1.112 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/1.072, allocations: 258.9 kB / 1.112 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/1.072, allocations: 25.7 kB / 1.112 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/1.072, allocations: 96.78 kB / 1.112 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/1.072, allocations: 110.4 kB / 1.112 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/1.072, allocations: 1.781 kB / 1.112 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.073, allocations: 338.7 kB / 1.112 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/1.073, allocations: 71.98 kB / 1.112 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/1.073, allocations: 123.5 kB / 1.113 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/1.074, allocations: 100.4 kB / 1.113 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.074, allocations: 0 / 1.113 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007406/1.074, allocations: 257.1 kB / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.074, allocations: 8 kB / 1.113 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.074, allocations: 0 / 1.113 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.074, allocations: 0 / 1.113 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/1.075, allocations: 67.91 kB / 1.113 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/1.075, allocations: 0 / 1.113 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/1.075, allocations: 27.73 kB / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/1.075, allocations: 13.73 kB / 1.113 GB, free: 2.82 MB / 0.7136 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 0.000196/1.075, allocations: 109.6 kB / 1.113 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/1.076, allocations: 31.56 kB / 1.113 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/1.077, allocations: 380.2 kB / 1.114 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.077, allocations: 4 kB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.077, allocations: 0 / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.077, allocations: 0.6562 kB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/1.077, allocations: 301.7 kB / 1.114 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.077, allocations: 0 / 1.114 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/1.078, allocations: 59.91 kB / 1.114 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.078, allocations: 0 / 1.114 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/1.078, allocations: 11.98 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.078, allocations: 0 / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.078, allocations: 9.828 kB / 1.114 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007765/1.079, allocations: 300 kB / 1.114 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009095/1.08, allocations: 0.6663 MB / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/1.08, allocations: 164.5 kB / 1.115 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/1.08, allocations: 4 kB / 1.115 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/1.08, allocations: 15.98 kB / 1.115 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/1.08, allocations: 19.97 kB / 1.115 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/1.08, allocations: 8 kB / 1.115 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003389/1.081, allocations: 213.6 kB / 1.115 GB, free: 484 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001284/1.082, allocations: 63.89 kB / 1.115 GB, free: 420 kB / 0.7136 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.0008639/1.083, allocations: 320.3 kB / 1.116 GB, free: 232 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000642/1.084, allocations: 207.8 kB / 1.116 GB, free: 24 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.084, allocations: 0 / 1.116 GB, free: 24 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/1.084, allocations: 123.8 kB / 1.116 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/1.084, allocations: 16.66 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/1.086, allocations: 404.7 kB / 1.116 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/1.086, allocations: 0.8128 MB / 1.117 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/1.086, allocations: 0 / 1.117 GB, free: 14.63 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)