Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.CheckPressure,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 190.6 kB / 7.804 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5474/0.5474, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 221.4 MB / 342.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009462/0.0009461, allocations: 89.8 kB / 415.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1683/0.1693, allocations: 78.47 MB / 494 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.5491, allocations: 72.29 MB / 0.553 GB, free: 44.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.6813, allocations: 104.5 MB / 0.655 GB, free: 4.137 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.6816, allocations: 85.67 kB / 0.6551 GB, free: 4.055 MB / 474.7 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.02751/0.7091, allocations: 9.834 MB / 0.6647 GB, free: 10.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7092, allocations: 8 kB / 0.6647 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.7093, allocations: 23.72 kB / 0.6647 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.7097, allocations: 280 kB / 0.665 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.7097, allocations: 4 kB / 0.665 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.7097, allocations: 8 kB / 0.665 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009436/0.7107, allocations: 0.7295 MB / 0.6657 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.711, allocations: 185 kB / 0.6659 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.711, allocations: 0 / 0.6659 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.7111, allocations: 0 / 0.6659 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.7111, allocations: 4.656 kB / 0.6659 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008524/0.712, allocations: 0.5319 MB / 0.6664 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.7123, allocations: 215.2 kB / 0.6666 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.7124, allocations: 88.84 kB / 0.6667 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.7125, allocations: 23.95 kB / 0.6667 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.7127, allocations: 157.2 kB / 0.6669 GB, free: 7.852 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.7127, allocations: 0 / 0.6669 GB, free: 7.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005008/0.7132, allocations: 260.4 kB / 0.6671 GB, free: 7.594 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.7133, allocations: 132.5 kB / 0.6672 GB, free: 7.434 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.7136, allocations: 267.8 kB / 0.6675 GB, free: 7.164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.7137, allocations: 25.7 kB / 0.6675 GB, free: 7.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.7137, allocations: 96.69 kB / 0.6676 GB, free: 7.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.7138, allocations: 110.5 kB / 0.6677 GB, free: 6.926 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.7138, allocations: 0 / 0.6677 GB, free: 6.926 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.714, allocations: 338.8 kB / 0.668 GB, free: 6.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.7141, allocations: 71.98 kB / 0.6681 GB, free: 6.516 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.7143, allocations: 119.5 kB / 0.6682 GB, free: 6.387 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.7144, allocations: 95.94 kB / 0.6683 GB, free: 6.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.7144, allocations: 0 / 0.6683 GB, free: 6.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003968/0.7148, allocations: 261.7 kB / 0.6686 GB, free: 6.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7149, allocations: 7.188 kB / 0.6686 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7149, allocations: 0 / 0.6686 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.7149, allocations: 4 kB / 0.6686 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.7151, allocations: 55.91 kB / 0.6686 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.7152, allocations: 2.891 kB / 0.6686 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.7153, allocations: 23.83 kB / 0.6687 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.7154, allocations: 12 kB / 0.6687 GB, free: 5.934 MB / 490.7 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 (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 0.0001009/0.7155, allocations: 112.9 kB / 0.6688 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.7155, allocations: 35.64 kB / 0.6688 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000732/0.7163, allocations: 365.7 kB / 0.6692 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7163, allocations: 4 kB / 0.6692 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7163, allocations: 0 / 0.6692 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7163, allocations: 3.984 kB / 0.6692 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.7166, allocations: 301.7 kB / 0.6694 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7166, allocations: 4 kB / 0.6695 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.7168, allocations: 59.91 kB / 0.6695 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7168, allocations: 4 kB / 0.6695 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.7168, allocations: 4 kB / 0.6695 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.7169, allocations: 0 / 0.6695 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7169, allocations: 0 / 0.6695 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004191/0.7173, allocations: 301.5 kB / 0.6698 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005223/0.7178, allocations: 0.6742 MB / 0.6705 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.718, allocations: 156.7 kB / 0.6706 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.718, allocations: 4 kB / 0.6706 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.7182, allocations: 11.98 kB / 0.6706 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.7183, allocations: 23.88 kB / 0.6707 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.7183, allocations: 15.98 kB / 0.6707 GB, free: 3.789 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002021/0.7185, allocations: 216.5 kB / 0.6709 GB, free: 3.578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008779/0.7194, allocations: 60 kB / 0.6709 GB, free: 3.52 MB / 490.7 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 (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.0006798/0.7201, allocations: 317.4 kB / 0.6712 GB, free: 3.301 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.7204, allocations: 207.8 kB / 0.6714 GB, free: 3.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7204, allocations: 0 / 0.6714 GB, free: 3.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.7206, allocations: 123.8 kB / 0.6715 GB, free: 2.977 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.7208, allocations: 22.08 kB / 0.6716 GB, free: 2.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007139/0.7216, allocations: 395.2 kB / 0.6719 GB, free: 2.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004515/0.722, allocations: 0.8186 MB / 0.6727 GB, free: 1.707 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.722, allocations: 0 / 0.6727 GB, free: 1.707 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)