Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_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.003107/0.003107, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6973/0.6973, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.482/1.482, allocations: 221.3 MB / 395 MB, free: 10.19 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.001138/0.001138, allocations: 98.5 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4246/0.4257, allocations: 88.43 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.5916, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4929/1.085, allocations: 113 MB / 0.7436 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.085, allocations: 88.95 kB / 0.7437 GB, free: 10.26 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.02101/1.106, allocations: 7.409 MB / 0.751 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.106, allocations: 9.281 kB / 0.751 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/1.106, allocations: 84.38 kB / 0.7511 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/1.106, allocations: 245.4 kB / 0.7513 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/1.106, allocations: 150.6 kB / 0.7514 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/1.106, allocations: 157.2 kB / 0.7516 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.823e-05/1.106, allocations: 154.5 kB / 0.7517 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.624e-05/1.106, allocations: 106.1 kB / 0.7518 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.107, allocations: 83.19 kB / 0.7519 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/1.107, allocations: 150.6 kB / 0.7521 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/1.107, allocations: 151.9 kB / 0.7522 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/1.107, allocations: 431.4 kB / 0.7526 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.476e-05/1.107, allocations: 170.5 kB / 0.7528 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/1.107, allocations: 89.53 kB / 0.7529 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/1.107, allocations: 75.28 kB / 0.7529 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.107, allocations: 114.1 kB / 0.753 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/1.107, allocations: 0 / 0.753 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.284e-05/1.107, allocations: 30.67 kB / 0.7531 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/1.107, allocations: 52.59 kB / 0.7531 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/1.107, allocations: 96.88 kB / 0.7532 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/1.107, allocations: 27.05 kB / 0.7532 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/1.107, allocations: 88.53 kB / 0.7533 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/1.107, allocations: 0 / 0.7533 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/1.107, allocations: 0 / 0.7533 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.108, allocations: 316.1 kB / 0.7536 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/1.108, allocations: 1.344 kB / 0.7536 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/1.108, allocations: 35.16 kB / 0.7537 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/1.108, allocations: 19.56 kB / 0.7537 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.108, allocations: 1.375 kB / 0.7537 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002281/1.108, allocations: 64.7 kB / 0.7537 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.108, allocations: 5.281 kB / 0.7537 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.108, allocations: 5.266 kB / 0.7537 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.108, allocations: 1.312 kB / 0.7537 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/1.108, allocations: 8.062 kB / 0.7538 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.108, allocations: 1.219 kB / 0.7538 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-05/1.108, allocations: 2.562 kB / 0.7538 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.108, allocations: 5.859 kB / 0.7538 GB, free: 22.64 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.0001022/1.108, allocations: 182.7 kB / 0.7539 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/1.108, allocations: 102.3 kB / 0.754 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/1.108, allocations: 109.3 kB / 0.7541 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.253e-05/1.109, allocations: 186.4 kB / 0.7543 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.604e-05/1.109, allocations: 177.6 kB / 0.7545 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.348e-05/1.109, allocations: 181.5 kB / 0.7547 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/1.109, allocations: 386.7 kB / 0.755 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/1.109, allocations: 102.2 kB / 0.7551 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/1.109, allocations: 104.9 kB / 0.7552 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.832e-05/1.109, allocations: 181.8 kB / 0.7554 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/1.109, allocations: 182.1 kB / 0.7556 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-05/1.109, allocations: 184.2 kB / 0.7557 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.528e-05/1.109, allocations: 177.5 kB / 0.7559 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001234/1.109, allocations: 314.8 kB / 0.7562 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002395/1.11, allocations: 0.6708 MB / 0.7569 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/1.11, allocations: 187.6 kB / 0.7571 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/1.11, allocations: 184.9 kB / 0.7572 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/1.11, allocations: 106.2 kB / 0.7573 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/1.11, allocations: 183.4 kB / 0.7575 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/1.11, allocations: 102.3 kB / 0.7576 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.422e-05/1.11, allocations: 86.53 kB / 0.7577 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001206/1.111, allocations: 119.2 kB / 0.7578 GB, free: 18.43 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.0009979/1.112, allocations: 474.8 kB / 0.7583 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/1.112, allocations: 9.969 kB / 0.7583 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.112, allocations: 192 / 0.7583 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/1.112, allocations: 4 kB / 0.7583 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/1.113, allocations: 0.5247 MB / 0.7588 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/1.113, allocations: 127.2 kB / 0.7589 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/1.113, allocations: 0.69 MB / 0.7596 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/1.113, allocations: 4 kB / 0.7596 GB, free: 16.8 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)