Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.002316/0.002316, allocations: 180.8 kB / 7.455 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7165/0.7165, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.495/1.495, allocations: 221.3 MB / 395 MB, free: 10.18 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.001006/0.001006, allocations: 106.4 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5912/0.5923, allocations: 88.43 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.8028, allocations: 82.32 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5851/1.388, allocations: 113 MB / 0.7436 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.388, allocations: 86.5 kB / 0.7437 GB, free: 10.9 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.02184/1.41, allocations: 7.41 MB / 0.751 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.41, allocations: 9 kB / 0.751 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/1.41, allocations: 84.44 kB / 0.7511 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/1.41, allocations: 237 kB / 0.7513 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/1.411, allocations: 153.8 kB / 0.7514 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/1.411, allocations: 153.2 kB / 0.7516 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.546e-05/1.411, allocations: 154.6 kB / 0.7517 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.468e-05/1.411, allocations: 105.7 kB / 0.7518 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.411, allocations: 79.19 kB / 0.7519 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/1.411, allocations: 154.5 kB / 0.752 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/1.411, allocations: 151.9 kB / 0.7522 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/1.411, allocations: 435.6 kB / 0.7526 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/1.411, allocations: 173.9 kB / 0.7528 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/1.411, allocations: 85.56 kB / 0.7529 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/1.411, allocations: 75.28 kB / 0.7529 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/1.411, allocations: 109.8 kB / 0.753 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.411, allocations: 1.312 kB / 0.753 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.846e-05/1.412, allocations: 38.16 kB / 0.7531 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/1.412, allocations: 52.66 kB / 0.7531 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/1.412, allocations: 93.56 kB / 0.7532 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/1.412, allocations: 29.64 kB / 0.7532 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/1.412, allocations: 85.14 kB / 0.7533 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/1.412, allocations: 1.344 kB / 0.7533 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/1.412, allocations: 0 / 0.7533 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.412, allocations: 318.2 kB / 0.7536 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/1.412, allocations: 2.594 kB / 0.7536 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/1.412, allocations: 22.67 kB / 0.7536 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/1.412, allocations: 16.83 kB / 0.7537 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.412, allocations: 4.75 kB / 0.7537 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002212/1.412, allocations: 66.09 kB / 0.7537 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.412, allocations: 7.812 kB / 0.7537 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.412, allocations: 1.312 kB / 0.7537 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.412, allocations: 1.25 kB / 0.7537 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/1.413, allocations: 7.469 kB / 0.7537 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/1.413, allocations: 1.312 kB / 0.7537 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/1.413, allocations: 10.56 kB / 0.7538 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/1.413, allocations: 2.406 kB / 0.7538 GB, free: 23.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 0.0001145/1.413, allocations: 186.5 kB / 0.7539 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/1.413, allocations: 109.2 kB / 0.754 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/1.413, allocations: 105.4 kB / 0.7541 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.275e-05/1.413, allocations: 180.2 kB / 0.7543 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.287e-05/1.413, allocations: 177.6 kB / 0.7545 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.325e-05/1.413, allocations: 180.8 kB / 0.7547 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/1.413, allocations: 391 kB / 0.755 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/1.413, allocations: 109.6 kB / 0.7551 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/1.414, allocations: 101 kB / 0.7552 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-05/1.414, allocations: 181.5 kB / 0.7554 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/1.414, allocations: 178.9 kB / 0.7556 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.054e-05/1.414, allocations: 180.3 kB / 0.7557 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.618e-05/1.414, allocations: 184.9 kB / 0.7559 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000203/1.414, allocations: 303 kB / 0.7562 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003181/1.414, allocations: 0.6815 MB / 0.7569 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.415, allocations: 186.8 kB / 0.7571 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/1.415, allocations: 181.5 kB / 0.7572 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/1.415, allocations: 106.3 kB / 0.7573 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/1.415, allocations: 177.5 kB / 0.7575 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/1.415, allocations: 112.9 kB / 0.7576 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.45e-05/1.415, allocations: 85.34 kB / 0.7577 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00142/1.416, allocations: 124.3 kB / 0.7578 GB, free: 19.07 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 (0): * Single equations (assignments): 0 * 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.001063/1.417, allocations: 468.3 kB / 0.7583 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.739e-05/1.418, allocations: 13.59 kB / 0.7583 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.418, allocations: 0 / 0.7583 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/1.418, allocations: 0 / 0.7583 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/1.418, allocations: 0.5238 MB / 0.7588 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/1.418, allocations: 131.4 kB / 0.7589 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/1.419, allocations: 0.6897 MB / 0.7596 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.419, allocations: 0 / 0.7596 GB, free: 17.45 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)