Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.806/0.806, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001228/0.001228, allocations: 193.2 kB / 164.4 MB, free: 6.875 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.841/1.841, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.0009582/0.0009579, allocations: 82.97 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3373/0.3383, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.5294, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5831/1.113, allocations: 102.3 MB / 0.7209 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.113, allocations: 87.94 kB / 0.721 GB, free: 9.965 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002655/1.116, allocations: 0.8183 MB / 0.7218 GB, free: 9.109 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.116, allocations: 8 kB / 0.7218 GB, free: 9.102 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/1.116, allocations: 0 / 0.7218 GB, free: 9.102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/1.116, allocations: 166.5 kB / 0.7219 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/1.116, allocations: 4 kB / 0.7219 GB, free: 8.898 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/1.116, allocations: 7.891 kB / 0.7219 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.904e-05/1.116, allocations: 12 kB / 0.7219 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/1.116, allocations: 37.69 kB / 0.722 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/1.116, allocations: 0 / 0.722 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.116, allocations: 4 kB / 0.722 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/1.116, allocations: 0 / 0.722 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/1.116, allocations: 225.3 kB / 0.7222 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/1.117, allocations: 42.61 kB / 0.7222 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/1.117, allocations: 8.922 kB / 0.7223 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/1.117, allocations: 4 kB / 0.7223 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/1.117, allocations: 34.56 kB / 0.7223 GB, free: 8.465 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.117, allocations: 0 / 0.7223 GB, free: 8.465 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001535/1.117, allocations: 45.72 kB / 0.7223 GB, free: 8.414 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/1.117, allocations: 59.39 kB / 0.7224 GB, free: 8.344 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.319e-05/1.117, allocations: 85 kB / 0.7225 GB, free: 8.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/1.117, allocations: 26.36 kB / 0.7225 GB, free: 8.223 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/1.117, allocations: 80.14 kB / 0.7226 GB, free: 8.141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/1.117, allocations: 15.75 kB / 0.7226 GB, free: 8.125 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.117, allocations: 0 / 0.7226 GB, free: 8.125 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/1.117, allocations: 314.8 kB / 0.7229 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/1.117, allocations: 4 kB / 0.7229 GB, free: 7.805 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/1.117, allocations: 6.078 kB / 0.7229 GB, free: 7.801 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/1.117, allocations: 11.98 kB / 0.7229 GB, free: 7.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/1.117, allocations: 0 / 0.7229 GB, free: 7.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.041e-05/1.117, allocations: 41.69 kB / 0.7229 GB, free: 7.742 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.117, allocations: 4 kB / 0.723 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/1.117, allocations: 4 kB / 0.723 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.117, allocations: 0 / 0.723 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/1.117, allocations: 4 kB / 0.723 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/1.117, allocations: 8.781 kB / 0.723 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/1.117, allocations: 0 / 0.723 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/1.117, allocations: 7.984 kB / 0.723 GB, free: 7.715 MB / 490.7 MB 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 (3): * Single equations (assignments): 3 * 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 7.142e-05/1.118, allocations: 105 kB / 0.7231 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/1.118, allocations: 0 / 0.7231 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/1.118, allocations: 73.11 kB / 0.7231 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.118, allocations: 0 / 0.7231 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.118, allocations: 0 / 0.7231 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.118, allocations: 0 / 0.7231 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/1.118, allocations: 138.2 kB / 0.7233 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.118, allocations: 3.938 kB / 0.7233 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/1.118, allocations: 11.94 kB / 0.7233 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.118, allocations: 0 / 0.7233 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/1.118, allocations: 7.219 kB / 0.7233 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.118, allocations: 3.938 kB / 0.7233 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.118, allocations: 0 / 0.7233 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00015/1.118, allocations: 155.7 kB / 0.7235 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002626/1.118, allocations: 0.5258 MB / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/1.118, allocations: 89 kB / 0.7241 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/1.118, allocations: 0 / 0.7241 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/1.119, allocations: 4 kB / 0.7241 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/1.119, allocations: 0 / 0.7241 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.119, allocations: 4 kB / 0.7241 GB, free: 6.508 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.118e-05/1.119, allocations: 83.2 kB / 0.7241 GB, free: 6.426 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007702/1.119, allocations: 4 kB / 0.7241 GB, free: 6.422 MB / 490.7 MB 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 (6): * Single equations (assignments): 6 * 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 0.0001601/1.12, allocations: 95.25 kB / 0.7242 GB, free: 6.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/1.12, allocations: 24 kB / 0.7243 GB, free: 6.297 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.12, allocations: 0 / 0.7243 GB, free: 6.297 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.274e-05/1.12, allocations: 16 kB / 0.7243 GB, free: 6.281 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/1.12, allocations: 6.625 kB / 0.7243 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/1.12, allocations: 67.77 kB / 0.7243 GB, free: 6.188 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/1.12, allocations: 0.6954 MB / 0.725 GB, free: 5.469 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/1.121, allocations: 0 / 0.725 GB, free: 5.469 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)