Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 188.4 kB / 7.805 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.4572/0.4572, allocations: 90.84 MB / 99.06 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.438/1.438, 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.001051/0.001051, allocations: 86.44 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2119/0.213, allocations: 78.44 MB / 493.9 MB, free: 7.949 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.682, allocations: 72.3 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.696/4.378, allocations: 1.684 GB / 2.237 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/4.378, allocations: 83.95 kB / 2.237 GB, free: 129.3 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.14/4.518, allocations: 61.22 MB / 2.296 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/4.519, allocations: 16 kB / 2.296 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/4.52, allocations: 214.5 kB / 2.297 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/4.521, allocations: 0.6075 MB / 2.297 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/4.522, allocations: 20 kB / 2.297 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/4.522, allocations: 43.98 kB / 2.297 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001464/4.523, allocations: 0.9718 MB / 2.298 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/4.524, allocations: 0.6851 MB / 2.299 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/4.524, allocations: 0 / 2.299 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/4.524, allocations: 15.92 kB / 2.299 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/4.524, allocations: 25.03 kB / 2.299 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/4.528, allocations: 2.274 MB / 2.301 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/4.529, allocations: 0.6385 MB / 2.302 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/4.529, allocations: 254.9 kB / 2.302 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-05/4.529, allocations: 36.58 kB / 2.302 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005106/4.53, allocations: 398 kB / 2.302 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.795e-06/4.53, allocations: 0 / 2.302 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001763/4.532, allocations: 0.6814 MB / 2.303 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/4.532, allocations: 240 kB / 2.303 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/4.532, allocations: 0.5142 MB / 2.304 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/4.532, allocations: 29.7 kB / 2.304 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/4.532, allocations: 268.3 kB / 2.304 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/4.533, allocations: 232.5 kB / 2.304 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/4.533, allocations: 0 / 2.304 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001025/4.533, allocations: 378.8 kB / 2.305 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/4.533, allocations: 201.3 kB / 2.305 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/4.533, allocations: 311.2 kB / 2.305 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/4.534, allocations: 267.1 kB / 2.305 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/4.534, allocations: 0 / 2.305 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001528/4.535, allocations: 0.695 MB / 2.306 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/4.535, allocations: 7.938 kB / 2.306 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/4.535, allocations: 0 / 2.306 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/4.536, allocations: 84.88 kB / 2.306 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/4.537, allocations: 155.8 kB / 2.306 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/4.539, allocations: 1.466 MB / 2.308 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/4.539, allocations: 79.56 kB / 2.308 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/4.539, allocations: 27.97 kB / 2.308 GB, free: 55.83 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($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 (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.0001542/4.539, allocations: 122.5 kB / 2.308 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/4.54, allocations: 79.06 kB / 2.308 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/4.542, allocations: 1.051 MB / 2.309 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/4.542, allocations: 8 kB / 2.309 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/4.542, allocations: 0 / 2.309 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/4.542, allocations: 7.922 kB / 2.309 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008191/4.543, allocations: 0.7517 MB / 2.31 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/4.543, allocations: 4 kB / 2.31 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/4.544, allocations: 163.8 kB / 2.31 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/4.544, allocations: 92.77 kB / 2.31 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/4.544, allocations: 11.98 kB / 2.31 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/4.546, allocations: 1.484 MB / 2.312 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/4.546, allocations: 4.062 kB / 2.312 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001524/4.547, allocations: 0.7918 MB / 2.312 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0016/4.549, allocations: 1.206 MB / 2.314 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/4.549, allocations: 283.8 kB / 2.314 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/4.549, allocations: 7.984 kB / 2.314 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/4.55, allocations: 63.94 kB / 2.314 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/4.55, allocations: 57.44 kB / 2.314 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/4.55, allocations: 31.98 kB / 2.314 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004652/4.551, allocations: 427.1 kB / 2.314 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001742/4.552, allocations: 419.2 kB / 2.315 GB, free: 48.58 MB / 0.6042 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.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001668/4.554, allocations: 1.093 MB / 2.316 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001175/4.555, allocations: 0.6703 MB / 2.316 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/4.555, allocations: 4 kB / 2.316 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/4.556, allocations: 464.6 kB / 2.317 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009427/4.557, allocations: 206.7 kB / 2.317 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/4.56, allocations: 1.34 MB / 2.318 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006973/4.561, allocations: 1.119 MB / 2.32 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/4.561, allocations: 0 / 2.32 GB, free: 43.73 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)