Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.479/1.479, allocations: 289.8 MB / 297.1 MB, free: 9.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 183.2 kB / 366.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 0.6256 GB, free: 2.242 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008635/0.0008635, allocations: 72.67 kB / 0.7395 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.4938/0.4947, allocations: 122.4 MB / 0.8591 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.6906, allocations: 116.3 MB / 0.9727 GB, free: 54.29 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5487/1.239, allocations: 139.3 MB / 1.109 GB, free: 22.77 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.24, allocations: 81.67 kB / 1.109 GB, free: 22.77 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.003029/1.243, allocations: 1.113 MB / 1.11 GB, free: 38.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/1.243, allocations: 7.375 kB / 1.11 GB, free: 38.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/1.243, allocations: 7.531 kB / 1.11 GB, free: 38.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/1.243, allocations: 167 kB / 1.11 GB, free: 38.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.243, allocations: 7.594 kB / 1.11 GB, free: 38.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/1.243, allocations: 5.656 kB / 1.11 GB, free: 38.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.113e-05/1.243, allocations: 29.06 kB / 1.11 GB, free: 38.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.791e-05/1.243, allocations: 45.06 kB / 1.11 GB, free: 38.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/1.243, allocations: 0 / 1.11 GB, free: 38.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/1.243, allocations: 0 / 1.11 GB, free: 38.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.243, allocations: 1.031 kB / 1.11 GB, free: 38.14 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/1.243, allocations: 262.8 kB / 1.11 GB, free: 37.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/1.244, allocations: 53.06 kB / 1.11 GB, free: 37.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/1.244, allocations: 22.33 kB / 1.11 GB, free: 37.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/1.244, allocations: 0 / 1.11 GB, free: 37.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/1.244, allocations: 36.58 kB / 1.11 GB, free: 37.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/1.244, allocations: 0 / 1.11 GB, free: 37.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001363/1.244, allocations: 60.36 kB / 1.11 GB, free: 37.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.637e-05/1.244, allocations: 55.41 kB / 1.111 GB, free: 37.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/1.244, allocations: 93.62 kB / 1.111 GB, free: 37.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/1.244, allocations: 25.7 kB / 1.111 GB, free: 37.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/1.244, allocations: 85.17 kB / 1.111 GB, free: 37.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/1.244, allocations: 24.89 kB / 1.111 GB, free: 37.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.244, allocations: 0 / 1.111 GB, free: 37.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.244, allocations: 313 kB / 1.111 GB, free: 37.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/1.244, allocations: 8.25 kB / 1.111 GB, free: 37.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/1.244, allocations: 10.56 kB / 1.111 GB, free: 37.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/1.244, allocations: 13.81 kB / 1.111 GB, free: 37.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.244, allocations: 0 / 1.111 GB, free: 37.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.357e-05/1.244, allocations: 54.11 kB / 1.111 GB, free: 37.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.244, allocations: 10.31 kB / 1.111 GB, free: 37.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.244, allocations: 3.938 kB / 1.111 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.244, allocations: 0 / 1.111 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/1.244, allocations: 10.31 kB / 1.111 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/1.244, allocations: 0 / 1.111 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/1.244, allocations: 8.562 kB / 1.111 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/1.244, allocations: 0 / 1.111 GB, free: 37.14 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/1.244, allocations: 105 kB / 1.111 GB, free: 37.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/1.244, allocations: 7.094 kB / 1.111 GB, free: 37.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/1.245, allocations: 78.72 kB / 1.111 GB, free: 36.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.245, allocations: 0 / 1.111 GB, free: 36.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.245, allocations: 0 / 1.111 GB, free: 36.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.245, allocations: 0 / 1.111 GB, free: 36.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.245, allocations: 152 kB / 1.112 GB, free: 36.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.245, allocations: 4 kB / 1.112 GB, free: 36.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/1.245, allocations: 20.53 kB / 1.112 GB, free: 36.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.245, allocations: 0 / 1.112 GB, free: 36.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/1.245, allocations: 0 / 1.112 GB, free: 36.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.245, allocations: 1.562 kB / 1.112 GB, free: 36.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.245, allocations: 0 / 1.112 GB, free: 36.82 MB / 0.7325 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001204/1.245, allocations: 164.7 kB / 1.112 GB, free: 36.69 MB / 0.7325 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002579/1.245, allocations: 0.5421 MB / 1.112 GB, free: 36.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/1.245, allocations: 89.73 kB / 1.112 GB, free: 36.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.245, allocations: 0 / 1.112 GB, free: 36.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/1.245, allocations: 3.984 kB / 1.112 GB, free: 36.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/1.245, allocations: 7.062 kB / 1.112 GB, free: 36.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/1.245, allocations: 0 / 1.112 GB, free: 36.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.424e-05/1.245, allocations: 81.28 kB / 1.112 GB, free: 36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007961/1.246, allocations: 13.56 kB / 1.112 GB, free: 35.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.704e-05/1.246, allocations: 103.1 kB / 1.112 GB, free: 35.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.872e-05/1.246, allocations: 26.72 kB / 1.113 GB, free: 35.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.246, allocations: 0 / 1.113 GB, free: 35.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/1.246, allocations: 29.97 kB / 1.113 GB, free: 35.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/1.247, allocations: 3.938 kB / 1.113 GB, free: 35.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/1.247, allocations: 85.55 kB / 1.113 GB, free: 35.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/1.247, allocations: 0.7016 MB / 1.113 GB, free: 35.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/1.247, allocations: 0 / 1.113 GB, free: 35.11 MB / 0.7325 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)