Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 185.2 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 82.27 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3508/0.3517, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.5155, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/1.021, allocations: 135.1 MB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/1.021, allocations: 83.44 kB / 1.017 GB, free: 3.391 MB / 0.6355 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.02353/1.044, allocations: 9.525 MB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/1.044, allocations: 8 kB / 1.026 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/1.045, allocations: 27.72 kB / 1.026 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/1.045, allocations: 267.2 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/1.045, allocations: 4 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/1.045, allocations: 15.84 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008033/1.046, allocations: 0.7212 MB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/1.046, allocations: 199.3 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/1.046, allocations: 0 / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/1.046, allocations: 0 / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/1.046, allocations: 4 kB / 1.027 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/1.047, allocations: 0.5223 MB / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/1.047, allocations: 288.8 kB / 1.028 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/1.047, allocations: 89.16 kB / 1.028 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/1.047, allocations: 20 kB / 1.028 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/1.048, allocations: 158.5 kB / 1.028 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/1.048, allocations: 0 / 1.028 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0004461/1.048, allocations: 256.3 kB / 1.028 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/1.048, allocations: 140.4 kB / 1.029 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/1.048, allocations: 258.5 kB / 1.029 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/1.048, allocations: 25.7 kB / 1.029 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/1.048, allocations: 99.66 kB / 1.029 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/1.049, allocations: 108.4 kB / 1.029 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/1.049, allocations: 4 kB / 1.029 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.049, allocations: 332.8 kB / 1.029 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/1.049, allocations: 78.66 kB / 1.029 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/1.049, allocations: 119.9 kB / 1.03 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/1.049, allocations: 96.5 kB / 1.03 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.049, allocations: 0 / 1.03 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000355/1.049, allocations: 265.9 kB / 1.03 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.049, allocations: 4 kB / 1.03 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.049, allocations: 0 / 1.03 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/1.05, allocations: 0 / 1.03 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/1.05, allocations: 63.66 kB / 1.03 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.05, allocations: 4 kB / 1.03 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/1.05, allocations: 23.83 kB / 1.03 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/1.05, allocations: 11.75 kB / 1.03 GB, free: 7.863 MB / 0.6511 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 8.299e-05/1.05, allocations: 112.8 kB / 1.03 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/1.05, allocations: 23.72 kB / 1.03 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006752/1.051, allocations: 381 kB / 1.031 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.051, allocations: 8 kB / 1.031 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.051, allocations: 7.906 kB / 1.031 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.051, allocations: 12.02 kB / 1.031 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/1.051, allocations: 294.3 kB / 1.031 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.051, allocations: 0 / 1.031 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/1.051, allocations: 55.91 kB / 1.031 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/1.051, allocations: 0 / 1.031 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/1.051, allocations: 11.31 kB / 1.031 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.051, allocations: 7.906 kB / 1.031 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.051, allocations: 3.984 kB / 1.031 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003927/1.052, allocations: 295.6 kB / 1.031 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004346/1.052, allocations: 0.6669 MB / 1.032 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/1.052, allocations: 161.5 kB / 1.032 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/1.052, allocations: 0 / 1.032 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/1.052, allocations: 23.86 kB / 1.032 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/1.053, allocations: 23.88 kB / 1.032 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/1.053, allocations: 15.17 kB / 1.032 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001531/1.053, allocations: 211.3 kB / 1.032 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008347/1.054, allocations: 59.67 kB / 1.032 GB, free: 5.719 MB / 0.6511 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.0005613/1.054, allocations: 302.4 kB / 1.033 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002897/1.054, allocations: 211.1 kB / 1.033 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.054, allocations: 2.188 kB / 1.033 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/1.055, allocations: 119.7 kB / 1.033 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/1.055, allocations: 27.47 kB / 1.033 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/1.055, allocations: 397.4 kB / 1.033 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/1.056, allocations: 0.8081 MB / 1.034 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.056, allocations: 0 / 1.034 GB, free: 4.043 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)