Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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/BuildSysPro 3.5.0/package.mo): time 0.7324/0.7324, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 173.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001135, allocations: 81.89 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3533/0.3544, allocations: 82.87 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.5396, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.567/6.106, allocations: 2.146 GB / 2.767 GB, free: 65.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/6.107, allocations: 91.94 kB / 2.768 GB, free: 65.03 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: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.1324/6.239, allocations: 55.93 MB / 2.822 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/6.239, allocations: 8 kB / 2.822 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008593/6.248, allocations: 0.8453 MB / 2.823 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/6.249, allocations: 0.5531 MB / 2.824 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/6.249, allocations: 20 kB / 2.824 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/6.25, allocations: 40 kB / 2.824 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002067/6.252, allocations: 1.085 MB / 2.825 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/6.253, allocations: 0.7691 MB / 2.825 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/6.253, allocations: 0 / 2.825 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/6.253, allocations: 4 kB / 2.825 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/6.253, allocations: 16 kB / 2.825 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007843/6.261, allocations: 2.681 MB / 2.828 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/6.263, allocations: 0.7234 MB / 2.829 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/6.263, allocations: 329.2 kB / 2.829 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009367/6.264, allocations: 474.1 kB / 2.83 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009895/6.265, allocations: 0.5026 MB / 2.83 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=74): time 6.292e-06/6.265, allocations: 4 kB / 2.83 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.3558/6.621, allocations: 0.8599 MB / 2.831 GB, free: 262.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/6.621, allocations: 168.4 kB / 2.831 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/6.622, allocations: 463.2 kB / 2.831 GB, free: 262.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002633/6.623, allocations: 25.7 kB / 2.831 GB, free: 262.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/6.623, allocations: 249.8 kB / 2.832 GB, free: 262.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/6.623, allocations: 235.7 kB / 2.832 GB, free: 262 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/6.623, allocations: 0 / 2.832 GB, free: 262 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001324/6.623, allocations: 370.4 kB / 2.832 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/6.624, allocations: 258.4 kB / 2.833 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/6.624, allocations: 345.7 kB / 2.833 GB, free: 261.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/6.625, allocations: 366.2 kB / 2.833 GB, free: 261.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/6.625, allocations: 0 / 2.833 GB, free: 261.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00242/6.628, allocations: 0.8783 MB / 2.834 GB, free: 261.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/6.628, allocations: 7.312 kB / 2.834 GB, free: 261.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/6.628, allocations: 0 / 2.834 GB, free: 261.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/6.629, allocations: 84.06 kB / 2.834 GB, free: 261.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/6.633, allocations: 431.4 kB / 2.835 GB, free: 261.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/6.635, allocations: 1.458 MB / 2.836 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/6.637, allocations: 189.2 kB / 2.836 GB, free: 260.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/6.637, allocations: 48.03 kB / 2.836 GB, free: 260.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim1.tStart,$PRE.weaDatInpCon.conTim.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002807/6.638, allocations: 113.3 kB / 2.836 GB, free: 260.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/6.638, allocations: 66.5 kB / 2.836 GB, free: 260.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/6.642, allocations: 1.226 MB / 2.838 GB, free: 260.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/6.642, allocations: 7.219 kB / 2.838 GB, free: 260.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/6.642, allocations: 3.906 kB / 2.838 GB, free: 260.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/6.642, allocations: 6.234 kB / 2.838 GB, free: 260.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/6.643, allocations: 0.8626 MB / 2.838 GB, free: 259.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/6.643, allocations: 0 / 2.838 GB, free: 259.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003717/6.647, allocations: 434.1 kB / 2.839 GB, free: 259.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005768/6.647, allocations: 85.97 kB / 2.839 GB, free: 259.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/6.647, allocations: 35.22 kB / 2.839 GB, free: 259.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/6.649, allocations: 1.48 MB / 2.84 GB, free: 258.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/6.649, allocations: 3.906 kB / 2.84 GB, free: 258.6 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00277/6.652, allocations: 0.9671 MB / 2.841 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002674/6.655, allocations: 1.383 MB / 2.843 GB, free: 258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005077/6.655, allocations: 315.6 kB / 2.843 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/6.655, allocations: 0 / 2.843 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/6.657, allocations: 176.9 kB / 2.843 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/6.658, allocations: 51.22 kB / 2.843 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/6.658, allocations: 50.25 kB / 2.843 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004743/6.658, allocations: 372.1 kB / 2.844 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002176/6.66, allocations: 418.3 kB / 2.844 GB, free: 257.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 2 (weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002016/6.662, allocations: 1.043 MB / 2.845 GB, free: 257.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001639/6.664, allocations: 0.8015 MB / 2.846 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/6.664, allocations: 0 / 2.846 GB, free: 257.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008607/6.665, allocations: 0.5265 MB / 2.846 GB, free: 257.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/6.666, allocations: 165.9 kB / 2.847 GB, free: 257.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/6.67, allocations: 1.348 MB / 2.848 GB, free: 257.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009653/6.671, allocations: 1.124 MB / 2.849 GB, free: 256.4 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/6.671, allocations: 2.297 kB / 2.849 GB, free: 256.4 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)