Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.376/1.376, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.0009489/0.0009489, allocations: 177.3 kB / 366.3 MB, free: 1.961 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.111/1.111, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0007901/0.0007901, allocations: 94.06 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2183/0.2192, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.7196, allocations: 116.3 MB / 0.9726 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.349/4.069, allocations: 2.072 GB / 3.045 GB, free: 3.586 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/4.069, allocations: 92.67 kB / 3.045 GB, free: 3.496 MB / 0.948 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.5108/4.58, allocations: 60.19 MB / 3.104 GB, free: 331.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/4.58, allocations: 8 kB / 3.104 GB, free: 331.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/4.581, allocations: 222.5 kB / 3.104 GB, free: 331 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/4.582, allocations: 0.5918 MB / 3.104 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/4.582, allocations: 24 kB / 3.104 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/4.582, allocations: 47.83 kB / 3.105 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001175/4.583, allocations: 0.964 MB / 3.105 GB, free: 329.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/4.584, allocations: 0.6812 MB / 3.106 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/4.584, allocations: 0 / 3.106 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/4.584, allocations: 4 kB / 3.106 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/4.584, allocations: 16 kB / 3.106 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/4.587, allocations: 2.265 MB / 3.108 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/4.588, allocations: 0.6462 MB / 3.109 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/4.588, allocations: 266.7 kB / 3.109 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/4.588, allocations: 28.38 kB / 3.109 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/4.588, allocations: 398.1 kB / 3.11 GB, free: 324.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.823e-06/4.588, allocations: 0 / 3.11 GB, free: 324.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001581/4.59, allocations: 0.6794 MB / 3.11 GB, free: 324.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/4.59, allocations: 251.9 kB / 3.111 GB, free: 323.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/4.591, allocations: 0.5103 MB / 3.111 GB, free: 323.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/4.591, allocations: 25.7 kB / 3.111 GB, free: 323.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/4.591, allocations: 264.4 kB / 3.111 GB, free: 323.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/4.591, allocations: 232.4 kB / 3.112 GB, free: 322.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/4.591, allocations: 0 / 3.112 GB, free: 322.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/4.591, allocations: 374.8 kB / 3.112 GB, free: 322.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/4.591, allocations: 201.3 kB / 3.112 GB, free: 322.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/4.592, allocations: 311.3 kB / 3.112 GB, free: 322 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/4.592, allocations: 271 kB / 3.113 GB, free: 321.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/4.592, allocations: 0 / 3.113 GB, free: 321.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001456/4.594, allocations: 0.6912 MB / 3.113 GB, free: 321 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/4.594, allocations: 4 kB / 3.113 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/4.594, allocations: 0 / 3.113 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/4.594, allocations: 88.86 kB / 3.113 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/4.595, allocations: 151.8 kB / 3.114 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/4.597, allocations: 1.468 MB / 3.115 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/4.597, allocations: 79.53 kB / 3.115 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/4.597, allocations: 27.98 kB / 3.115 GB, free: 319.1 MB / 0.948 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.0001482/4.598, allocations: 119.4 kB / 3.115 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/4.598, allocations: 75.06 kB / 3.115 GB, free: 318.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/4.6, allocations: 1.05 MB / 3.116 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/4.6, allocations: 8 kB / 3.116 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/4.6, allocations: 0 / 3.116 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/4.6, allocations: 3.984 kB / 3.116 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/4.601, allocations: 0.7621 MB / 3.117 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/4.601, allocations: 0 / 3.117 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/4.601, allocations: 167.7 kB / 3.117 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/4.602, allocations: 80.78 kB / 3.117 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/4.602, allocations: 27.81 kB / 3.117 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/4.603, allocations: 1.477 MB / 3.119 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/4.603, allocations: 7.922 kB / 3.119 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00137/4.605, allocations: 0.7919 MB / 3.12 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001506/4.606, allocations: 1.21 MB / 3.121 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/4.607, allocations: 291.8 kB / 3.121 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/4.607, allocations: 0 / 3.121 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/4.607, allocations: 63.94 kB / 3.121 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/4.607, allocations: 52.69 kB / 3.121 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/4.608, allocations: 39.97 kB / 3.121 GB, free: 312.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003708/4.608, allocations: 427.2 kB / 3.122 GB, free: 312.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001524/4.609, allocations: 398.8 kB / 3.122 GB, free: 311.9 MB / 0.948 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.001412/4.611, allocations: 1.019 MB / 3.123 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001044/4.612, allocations: 0.6741 MB / 3.124 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/4.612, allocations: 0 / 3.124 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006093/4.613, allocations: 464.7 kB / 3.124 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/4.613, allocations: 208 kB / 3.124 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/4.616, allocations: 1.328 MB / 3.126 GB, free: 308.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/4.617, allocations: 1.119 MB / 3.127 GB, free: 307.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/4.617, allocations: 3.938 kB / 3.127 GB, free: 307.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)