Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.145/2.145, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 189.3 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.1 MB / 0.6187 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 93.27 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2479/0.2492, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.8209, allocations: 115.2 MB / 0.9627 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.578/5.399, allocations: 2.071 GB / 3.034 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/5.4, allocations: 89.16 kB / 3.034 GB, free: 273.3 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.2276/5.627, allocations: 59.9 MB / 3.092 GB, free: 258.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/5.627, allocations: 8.469 kB / 3.092 GB, free: 258.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/5.629, allocations: 220.4 kB / 3.093 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/5.631, allocations: 0.5943 MB / 3.093 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/5.631, allocations: 25.69 kB / 3.093 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/5.631, allocations: 54.39 kB / 3.093 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002393/5.633, allocations: 0.9609 MB / 3.094 GB, free: 257.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/5.635, allocations: 0.683 MB / 3.095 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/5.635, allocations: 3.938 kB / 3.095 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/5.635, allocations: 0 / 3.095 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/5.635, allocations: 16.94 kB / 3.095 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/5.641, allocations: 2.248 MB / 3.097 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/5.643, allocations: 0.6497 MB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/5.643, allocations: 261 kB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/5.644, allocations: 30.62 kB / 3.098 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000847/5.644, allocations: 400.7 kB / 3.098 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.226e-06/5.644, allocations: 0 / 3.098 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.002919/5.647, allocations: 0.6771 MB / 3.099 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/5.647, allocations: 244.6 kB / 3.099 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/5.648, allocations: 0.5126 MB / 3.1 GB, free: 255 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/5.649, allocations: 28.55 kB / 3.1 GB, free: 255 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/5.649, allocations: 263.9 kB / 3.1 GB, free: 254.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/5.649, allocations: 239 kB / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/5.649, allocations: 0 / 3.1 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001265/5.649, allocations: 372.2 kB / 3.101 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/5.65, allocations: 202.3 kB / 3.101 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007665/5.651, allocations: 319.1 kB / 3.101 GB, free: 254.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/5.652, allocations: 264.3 kB / 3.101 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/5.652, allocations: 0 / 3.101 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002928/5.655, allocations: 0.6929 MB / 3.102 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/5.655, allocations: 5.406 kB / 3.102 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/5.655, allocations: 0 / 3.102 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/5.656, allocations: 81.53 kB / 3.102 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/5.657, allocations: 161.1 kB / 3.102 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/5.66, allocations: 1.468 MB / 3.104 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/5.661, allocations: 80.56 kB / 3.104 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/5.661, allocations: 30.7 kB / 3.104 GB, free: 252.5 MB / 0.9323 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.0002713/5.662, allocations: 125.5 kB / 3.104 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/5.662, allocations: 76.5 kB / 3.104 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/5.667, allocations: 1.048 MB / 3.105 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/5.667, allocations: 7.938 kB / 3.105 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/5.667, allocations: 1.219 kB / 3.105 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/5.667, allocations: 3.984 kB / 3.105 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/5.668, allocations: 0.7611 MB / 3.106 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/5.668, allocations: 0 / 3.106 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/5.67, allocations: 158.9 kB / 3.106 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009454/5.671, allocations: 87.78 kB / 3.106 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/5.671, allocations: 22.66 kB / 3.106 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/5.673, allocations: 1.483 MB / 3.108 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/5.673, allocations: 4 kB / 3.108 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003016/5.676, allocations: 0.7996 MB / 3.108 GB, free: 250 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003064/5.679, allocations: 1.208 MB / 3.109 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006699/5.68, allocations: 284 kB / 3.11 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/5.68, allocations: 0 / 3.11 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/5.682, allocations: 69.34 kB / 3.11 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/5.682, allocations: 59.47 kB / 3.11 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/5.682, allocations: 32.06 kB / 3.11 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007994/5.683, allocations: 423.1 kB / 3.11 GB, free: 249 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002625/5.685, allocations: 390.4 kB / 3.111 GB, free: 249 MB / 0.9323 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.00226/5.688, allocations: 1.026 MB / 3.112 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002148/5.69, allocations: 0.673 MB / 3.112 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/5.69, allocations: 0 / 3.112 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/5.691, allocations: 462.1 kB / 3.113 GB, free: 247.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/5.693, allocations: 208.6 kB / 3.113 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/5.699, allocations: 1.337 MB / 3.114 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/5.701, allocations: 1.113 MB / 3.115 GB, free: 245.4 MB / 0.9323 GB Notification: Performance of SimCode: time 2.786e-06/5.701, allocations: 0 / 3.115 GB, free: 245.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)