Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 179.4 kB / 7.802 MB, free: 140 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.465/0.465, allocations: 90.85 MB / 99.07 MB, free: 3.309 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 221.4 MB / 342.8 MB, free: 9.938 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001072, allocations: 94.92 kB / 415.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1686/0.1697, allocations: 78.45 MB / 494 MB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.5501, allocations: 72.31 MB / 0.553 GB, free: 46.23 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.6792, allocations: 104.4 MB / 0.6549 GB, free: 7.973 MB / 478.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.6795, allocations: 83.95 kB / 0.655 GB, free: 7.891 MB / 478.1 MB 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.02738/0.7069, allocations: 9.731 MB / 0.6645 GB, free: 14.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7069, allocations: 12 kB / 0.6645 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.707, allocations: 23.72 kB / 0.6645 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.7075, allocations: 270.5 kB / 0.6648 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.7075, allocations: 4 kB / 0.6648 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.7076, allocations: 9.5 kB / 0.6648 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001071/0.7086, allocations: 0.7334 MB / 0.6655 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.709, allocations: 184.9 kB / 0.6657 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.709, allocations: 0 / 0.6657 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.7091, allocations: 0 / 0.6657 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.7091, allocations: 7.984 kB / 0.6657 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.7101, allocations: 0.5322 MB / 0.6662 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.7106, allocations: 284 kB / 0.6665 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.7108, allocations: 89.41 kB / 0.6666 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.865e-05/0.7109, allocations: 24.23 kB / 0.6666 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.7111, allocations: 157.9 kB / 0.6667 GB, free: 11.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/0.7111, allocations: 0 / 0.6667 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005445/0.7117, allocations: 269 kB / 0.667 GB, free: 11.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.7118, allocations: 136.5 kB / 0.6671 GB, free: 11.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.7121, allocations: 251 kB / 0.6674 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.7122, allocations: 29.7 kB / 0.6674 GB, free: 10.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.7122, allocations: 97.91 kB / 0.6675 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.7124, allocations: 110.3 kB / 0.6676 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.7124, allocations: 0 / 0.6676 GB, free: 10.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.7126, allocations: 342.8 kB / 0.6679 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.7127, allocations: 75.97 kB / 0.668 GB, free: 10.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.7129, allocations: 107.4 kB / 0.6681 GB, free: 10.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.7131, allocations: 100.7 kB / 0.6682 GB, free: 10.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7131, allocations: 0 / 0.6682 GB, free: 10.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000443/0.7135, allocations: 269 kB / 0.6684 GB, free: 9.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7136, allocations: 4 kB / 0.6685 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7136, allocations: 7.906 kB / 0.6685 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7136, allocations: 4 kB / 0.6685 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.7138, allocations: 60.47 kB / 0.6685 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.7139, allocations: 0 / 0.6685 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.714, allocations: 19.83 kB / 0.6685 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.7141, allocations: 16 kB / 0.6686 GB, free: 9.773 MB / 494.1 MB 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.0001038/0.7142, allocations: 115.2 kB / 0.6687 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.7142, allocations: 27.7 kB / 0.6687 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/0.715, allocations: 373.9 kB / 0.669 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.715, allocations: 4 kB / 0.6691 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.7151, allocations: 0 / 0.6691 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.7151, allocations: 3.984 kB / 0.6691 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.7154, allocations: 297.8 kB / 0.6693 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.7154, allocations: 0 / 0.6693 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.7156, allocations: 59.91 kB / 0.6694 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.7156, allocations: 8 kB / 0.6694 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.7157, allocations: 4 kB / 0.6694 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.7157, allocations: 7.922 kB / 0.6694 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7157, allocations: 0 / 0.6694 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004514/0.7161, allocations: 298.5 kB / 0.6697 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006304/0.7168, allocations: 0.6828 MB / 0.6704 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.717, allocations: 148.7 kB / 0.6705 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.717, allocations: 4 kB / 0.6705 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.7172, allocations: 15.98 kB / 0.6705 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.7172, allocations: 19.97 kB / 0.6705 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.7173, allocations: 15.98 kB / 0.6706 GB, free: 7.629 MB / 494.1 MB Notification: Performance of sort global known variables: time 0.0002194/0.7175, allocations: 209.6 kB / 0.6708 GB, free: 7.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009676/0.7185, allocations: 75.84 kB / 0.6708 GB, free: 7.352 MB / 494.1 MB 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.0009207/0.7194, allocations: 307.5 kB / 0.6711 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.7198, allocations: 211.8 kB / 0.6713 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7199, allocations: 0 / 0.6713 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.7201, allocations: 119.8 kB / 0.6714 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.7204, allocations: 30.28 kB / 0.6715 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.7213, allocations: 393.9 kB / 0.6718 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/0.7219, allocations: 0.8128 MB / 0.6726 GB, free: 5.543 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.7219, allocations: 3.938 kB / 0.6726 GB, free: 5.539 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)