Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.001402/0.001402, allocations: 184.3 kB / 7.803 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.4803/0.4803, 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.419/1.419, allocations: 221.4 MB / 342.8 MB, free: 5.277 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.001028/0.001029, allocations: 95.86 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1991/0.2002, allocations: 78.44 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.6585, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.497/4.155, allocations: 1.683 GB / 2.236 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/4.155, allocations: 79.95 kB / 2.236 GB, free: 145.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.2096/4.365, allocations: 93.81 MB / 2.328 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/4.365, allocations: 8 kB / 2.328 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/4.368, allocations: 401.3 kB / 2.328 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/4.37, allocations: 1.019 MB / 2.329 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/4.37, allocations: 44.75 kB / 2.329 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/4.371, allocations: 76 kB / 2.329 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003027/4.374, allocations: 1.875 MB / 2.331 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/4.376, allocations: 1.278 MB / 2.332 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/4.376, allocations: 0 / 2.332 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/4.376, allocations: 7.906 kB / 2.332 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/4.377, allocations: 32 kB / 2.333 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007564/4.384, allocations: 4.287 MB / 2.337 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/4.386, allocations: 1.259 MB / 2.338 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006329/4.387, allocations: 474.8 kB / 2.338 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/4.387, allocations: 57.3 kB / 2.338 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000902/4.388, allocations: 0.6936 MB / 2.339 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 3.577e-06/4.388, allocations: 0 / 2.339 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.003039/4.391, allocations: 1.244 MB / 2.34 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/4.391, allocations: 462.2 kB / 2.341 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/4.392, allocations: 0.9147 MB / 2.342 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/4.392, allocations: 25.7 kB / 2.342 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/4.393, allocations: 454.9 kB / 2.342 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/4.393, allocations: 425.5 kB / 2.343 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/4.393, allocations: 4 kB / 2.343 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/4.393, allocations: 345.9 kB / 2.343 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/4.394, allocations: 378.5 kB / 2.343 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007557/4.395, allocations: 0.5852 MB / 2.344 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/4.395, allocations: 495.4 kB / 2.344 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/4.395, allocations: 3.938 kB / 2.344 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002996/4.398, allocations: 1.267 MB / 2.345 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/4.398, allocations: 11.98 kB / 2.346 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/4.398, allocations: 0 / 2.346 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/4.4, allocations: 165.8 kB / 2.346 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/4.401, allocations: 275.6 kB / 2.346 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/4.404, allocations: 2.929 MB / 2.349 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/4.405, allocations: 131 kB / 2.349 GB, free: 29.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/4.405, allocations: 55.95 kB / 2.349 GB, free: 29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002796/4.406, allocations: 130.9 kB / 2.349 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/4.406, allocations: 142.3 kB / 2.349 GB, free: 28.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/4.411, allocations: 1.88 MB / 2.351 GB, free: 26.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/4.411, allocations: 16 kB / 2.351 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/4.411, allocations: 0 / 2.351 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/4.411, allocations: 7.969 kB / 2.351 GB, free: 26.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/4.413, allocations: 1.321 MB / 2.352 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/4.413, allocations: 0 / 2.352 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/4.414, allocations: 286.7 kB / 2.353 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/4.415, allocations: 173.5 kB / 2.353 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/4.415, allocations: 27.97 kB / 2.353 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/4.418, allocations: 2.972 MB / 2.356 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/4.418, allocations: 4 kB / 2.356 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003048/4.421, allocations: 1.456 MB / 2.357 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003214/4.424, allocations: 1.886 MB / 2.359 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/4.425, allocations: 474.9 kB / 2.359 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004333/4.426, allocations: 4 kB / 2.359 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/4.427, allocations: 115.9 kB / 2.36 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/4.427, allocations: 109.3 kB / 2.36 GB, free: 17.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/4.427, allocations: 60.09 kB / 2.36 GB, free: 17.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001128/4.428, allocations: 0.7193 MB / 2.36 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002845/4.431, allocations: 0.5807 MB / 2.361 GB, free: 16.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/4.433, allocations: 1.139 MB / 2.362 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002109/4.435, allocations: 1.27 MB / 2.363 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/4.435, allocations: 0 / 2.363 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/4.437, allocations: 0.8527 MB / 2.364 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/4.439, allocations: 430.3 kB / 2.365 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007039/4.446, allocations: 2.562 MB / 2.367 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/4.447, allocations: 1.515 MB / 2.369 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of SimCode: time 6.52e-07/4.447, allocations: 0 / 2.369 GB, free: 8.469 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)