Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.001024/0.001024, allocations: 192.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4455/0.4455, allocations: 90.85 MB / 99.07 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.422/1.422, allocations: 221.4 MB / 342.8 MB, free: 5.105 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.0008942/0.0008942, allocations: 97.59 kB / 415.5 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1763/0.1772, allocations: 78.44 MB / 494 MB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.6122, allocations: 72.32 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.7339, allocations: 101.6 MB / 0.6523 GB, free: 8.328 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.7342, allocations: 89.03 kB / 0.6523 GB, free: 8.242 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01061/0.7448, allocations: 4.047 MB / 0.6563 GB, free: 4.195 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.7449, allocations: 8.812 kB / 0.6563 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.7449, allocations: 79.19 kB / 0.6564 GB, free: 4.109 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.7451, allocations: 239.3 kB / 0.6566 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.7452, allocations: 155.5 kB / 0.6568 GB, free: 3.684 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.7452, allocations: 154.6 kB / 0.6569 GB, free: 3.531 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.469e-05/0.7453, allocations: 153.4 kB / 0.657 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.953e-05/0.7453, allocations: 102.5 kB / 0.6571 GB, free: 3.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.7454, allocations: 79.22 kB / 0.6572 GB, free: 3.199 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.7454, allocations: 150.6 kB / 0.6574 GB, free: 3.051 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.7455, allocations: 155.2 kB / 0.6575 GB, free: 2.898 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.7457, allocations: 428.5 kB / 0.6579 GB, free: 2.445 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.7458, allocations: 179.1 kB / 0.6581 GB, free: 2.262 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.7459, allocations: 81.08 kB / 0.6582 GB, free: 2.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.7459, allocations: 76.22 kB / 0.6582 GB, free: 2.105 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.746, allocations: 107.6 kB / 0.6583 GB, free: 1.992 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.746, allocations: 0 / 0.6583 GB, free: 1.992 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 6.882e-05/0.746, allocations: 33.64 kB / 0.6584 GB, free: 1.953 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.7461, allocations: 51.41 kB / 0.6584 GB, free: 1.891 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.7462, allocations: 90.16 kB / 0.6585 GB, free: 1.797 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.7462, allocations: 26.33 kB / 0.6585 GB, free: 1.766 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.7462, allocations: 84.98 kB / 0.6586 GB, free: 1.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-06/0.7462, allocations: 0 / 0.6586 GB, free: 1.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.7462, allocations: 0 / 0.6586 GB, free: 1.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7463, allocations: 319.8 kB / 0.6589 GB, free: 1.359 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-06/0.7463, allocations: 0 / 0.6589 GB, free: 1.359 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-06/0.7463, allocations: 0.9375 kB / 0.6589 GB, free: 1.359 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.7464, allocations: 76.88 kB / 0.659 GB, free: 1.285 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.7464, allocations: 76.25 kB / 0.6591 GB, free: 1.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.436e-05/0.7465, allocations: 29.7 kB / 0.6591 GB, free: 1.176 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.7465, allocations: 10.91 kB / 0.6591 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.7465, allocations: 75.28 kB / 0.6592 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.693e-05/0.7466, allocations: 155.3 kB / 0.6593 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.888e-05/0.7466, allocations: 76.22 kB / 0.6594 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-05/0.7467, allocations: 155.6 kB / 0.6595 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.7468, allocations: 85.02 kB / 0.6596 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.7468, allocations: 75.78 kB / 0.6597 GB, free: 0.5586 MB / 474.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001184/0.7469, allocations: 265.5 kB / 0.66 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.747, allocations: 101 kB / 0.6601 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.747, allocations: 104.7 kB / 0.6602 GB, free: 80 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-05/0.7471, allocations: 182.3 kB / 0.6603 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-05/0.7472, allocations: 185.3 kB / 0.6605 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.388e-05/0.7472, allocations: 176.8 kB / 0.6607 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.7474, allocations: 382.3 kB / 0.661 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/0.7475, allocations: 116.2 kB / 0.6611 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.7475, allocations: 101.7 kB / 0.6612 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.059e-05/0.7476, allocations: 187 kB / 0.6614 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.7476, allocations: 176.3 kB / 0.6616 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.718e-05/0.7477, allocations: 180.5 kB / 0.6618 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.706e-05/0.7478, allocations: 184.2 kB / 0.6619 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001305/0.7479, allocations: 310.3 kB / 0.6622 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002721/0.7482, allocations: 0.6783 MB / 0.6629 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.7483, allocations: 178.1 kB / 0.6631 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.7484, allocations: 181 kB / 0.6632 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.7485, allocations: 101.6 kB / 0.6633 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.7485, allocations: 189.3 kB / 0.6635 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.7486, allocations: 111 kB / 0.6636 GB, free: 12.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.089e-05/0.7486, allocations: 75.91 kB / 0.6637 GB, free: 12.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009105/0.7495, allocations: 56.58 kB / 0.6637 GB, free: 12.2 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006251/0.7502, allocations: 321.9 kB / 0.6641 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 3.253e-05/0.7502, allocations: 0 / 0.6641 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7502, allocations: 0 / 0.6641 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.7502, allocations: 0 / 0.6641 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.7506, allocations: 0.5263 MB / 0.6646 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.7508, allocations: 115.2 kB / 0.6647 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.7511, allocations: 0.688 MB / 0.6653 GB, free: 10.54 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7511, allocations: 0 / 0.6653 GB, free: 10.54 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)