Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003362/0.003362, allocations: 175.7 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6877/0.6877, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.769/1.769, allocations: 221.3 MB / 395 MB, free: 10.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 98.22 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5184/0.5197, allocations: 88.44 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.753, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6574/1.41, allocations: 110.9 MB / 0.7416 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.411, allocations: 84.64 kB / 0.7417 GB, free: 10.76 MB / 0.4948 GB 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.002523/1.413, allocations: 0.8612 MB / 0.7425 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.413, allocations: 7.688 kB / 0.7425 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/1.413, allocations: 3.906 kB / 0.7425 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/1.413, allocations: 164.6 kB / 0.7427 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/1.413, allocations: 3.844 kB / 0.7427 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/1.414, allocations: 0 / 0.7427 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.709e-05/1.414, allocations: 10.5 kB / 0.7427 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.754e-05/1.414, allocations: 37.38 kB / 0.7428 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.414, allocations: 7.984 kB / 0.7428 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/1.414, allocations: 1.453 kB / 0.7428 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.414, allocations: 0 / 0.7428 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/1.414, allocations: 222.9 kB / 0.743 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/1.414, allocations: 43.91 kB / 0.743 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/1.414, allocations: 17.11 kB / 0.743 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/1.414, allocations: 0 / 0.743 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/1.414, allocations: 34.41 kB / 0.7431 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/1.414, allocations: 0 / 0.7431 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001472/1.414, allocations: 45.62 kB / 0.7431 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/1.414, allocations: 51.41 kB / 0.7432 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.089e-05/1.414, allocations: 85 kB / 0.7432 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.415, allocations: 27.34 kB / 0.7433 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/1.415, allocations: 84.14 kB / 0.7433 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/1.415, allocations: 15.69 kB / 0.7434 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.415, allocations: 0.875 kB / 0.7434 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.415, allocations: 312.3 kB / 0.7437 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/1.415, allocations: 7.75 kB / 0.7437 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/1.415, allocations: 9.453 kB / 0.7437 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/1.415, allocations: 1.312 kB / 0.7437 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.415, allocations: 3.875 kB / 0.7437 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.68e-05/1.415, allocations: 44.81 kB / 0.7437 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.415, allocations: 11.69 kB / 0.7437 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.415, allocations: 3.938 kB / 0.7437 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/1.415, allocations: 0 / 0.7437 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/1.415, allocations: 5.203 kB / 0.7437 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.415, allocations: 0 / 0.7437 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/1.415, allocations: 1.406 kB / 0.7437 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/1.415, allocations: 0 / 0.7437 GB, free: 25.16 MB / 0.5105 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 (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.108e-05/1.415, allocations: 116.6 kB / 0.7439 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/1.415, allocations: 0 / 0.7439 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/1.415, allocations: 71.05 kB / 0.7439 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.415, allocations: 1.078 kB / 0.7439 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.415, allocations: 0 / 0.7439 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.415, allocations: 0 / 0.7439 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/1.415, allocations: 148.3 kB / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.415, allocations: 1.938 kB / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/1.416, allocations: 9.297 kB / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.416, allocations: 0 / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/1.416, allocations: 1.359 kB / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.416, allocations: 0 / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.416, allocations: 4 kB / 0.7441 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001206/1.416, allocations: 157.2 kB / 0.7442 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002133/1.416, allocations: 0.5245 MB / 0.7447 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/1.416, allocations: 77.11 kB / 0.7448 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/1.416, allocations: 5.172 kB / 0.7448 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/1.416, allocations: 0 / 0.7448 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/1.416, allocations: 5.391 kB / 0.7448 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/1.416, allocations: 192 / 0.7448 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.298e-05/1.416, allocations: 75.28 kB / 0.7449 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008017/1.417, allocations: 7.688 kB / 0.7449 GB, free: 24.02 MB / 0.5105 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 (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.0001242/1.417, allocations: 102 kB / 0.745 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.988e-05/1.417, allocations: 28.03 kB / 0.745 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.417, allocations: 4 kB / 0.745 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/1.417, allocations: 19.09 kB / 0.745 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/1.417, allocations: 3.844 kB / 0.7451 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/1.418, allocations: 73.11 kB / 0.7451 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/1.418, allocations: 0.6953 MB / 0.7458 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.418, allocations: 0 / 0.7458 GB, free: 23.14 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)