Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.763/0.763, allocations: 127.4 MB / 134.6 MB, free: 4.051 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.001384/0.001384, allocations: 189.3 kB / 164.4 MB, free: 6.852 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.815/1.815, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.0009868/0.0009864, allocations: 77.53 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3295/0.3305, allocations: 82.89 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.526, allocations: 76.75 MB / 0.621 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5825/1.109, allocations: 104.5 MB / 0.7231 GB, free: 7.734 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.109, allocations: 87.94 kB / 0.7231 GB, free: 7.648 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.02573/1.135, allocations: 7.91 MB / 0.7309 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.135, allocations: 12 kB / 0.7309 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/1.135, allocations: 75.28 kB / 0.731 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/1.135, allocations: 246.2 kB / 0.7312 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/1.135, allocations: 150.6 kB / 0.7313 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/1.135, allocations: 150.6 kB / 0.7315 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.096e-05/1.135, allocations: 154.6 kB / 0.7316 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.607e-05/1.136, allocations: 109 kB / 0.7317 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/1.136, allocations: 83.16 kB / 0.7318 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/1.136, allocations: 150.6 kB / 0.7319 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-05/1.136, allocations: 150.6 kB / 0.7321 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/1.136, allocations: 438.4 kB / 0.7325 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/1.136, allocations: 169 kB / 0.7327 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/1.136, allocations: 80.14 kB / 0.7327 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/1.136, allocations: 75.28 kB / 0.7328 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/1.136, allocations: 105.8 kB / 0.7329 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 2.404e-06/1.136, allocations: 8 kB / 0.7329 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001152/1.137, allocations: 33.62 kB / 0.733 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/1.137, allocations: 51.41 kB / 0.733 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/1.137, allocations: 97 kB / 0.7331 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/1.137, allocations: 25.7 kB / 0.7331 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/1.137, allocations: 84.14 kB / 0.7332 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/1.137, allocations: 0 / 0.7332 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/1.137, allocations: 0 / 0.7332 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.137, allocations: 318.8 kB / 0.7335 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/1.137, allocations: 7.984 kB / 0.7335 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/1.137, allocations: 22.58 kB / 0.7335 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/1.137, allocations: 19.97 kB / 0.7336 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.137, allocations: 0 / 0.7336 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002531/1.138, allocations: 57.7 kB / 0.7336 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.138, allocations: 8 kB / 0.7336 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.138, allocations: 0.625 kB / 0.7336 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.138, allocations: 0 / 0.7336 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/1.138, allocations: 12 kB / 0.7336 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.138, allocations: 7.922 kB / 0.7336 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/1.138, allocations: 11.84 kB / 0.7337 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/1.138, allocations: 0 / 0.7337 GB, free: 12.68 MB / 0.4948 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.0001747/1.138, allocations: 180.3 kB / 0.7338 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/1.138, allocations: 105 kB / 0.7339 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.951e-05/1.138, allocations: 108.1 kB / 0.734 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/1.138, allocations: 184.1 kB / 0.7342 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/1.139, allocations: 180.3 kB / 0.7344 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-05/1.139, allocations: 176.3 kB / 0.7345 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/1.139, allocations: 393.7 kB / 0.7349 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-05/1.139, allocations: 101 kB / 0.735 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/1.139, allocations: 101.2 kB / 0.7351 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/1.139, allocations: 184.3 kB / 0.7353 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.824e-05/1.139, allocations: 184.3 kB / 0.7355 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001036/1.139, allocations: 188.2 kB / 0.7356 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.603e-05/1.14, allocations: 185.2 kB / 0.7358 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001811/1.14, allocations: 307.7 kB / 0.7361 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004242/1.14, allocations: 0.6875 MB / 0.7368 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/1.14, allocations: 178.4 kB / 0.737 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.14, allocations: 188.2 kB / 0.7371 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/1.141, allocations: 105 kB / 0.7372 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.141, allocations: 176.3 kB / 0.7374 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/1.141, allocations: 104.9 kB / 0.7375 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.799e-05/1.141, allocations: 87.28 kB / 0.7376 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001521/1.142, allocations: 135.8 kB / 0.7377 GB, free: 8.281 MB / 0.4948 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.001151/1.144, allocations: 464.9 kB / 0.7382 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001222/1.144, allocations: 16 kB / 0.7382 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.144, allocations: 0 / 0.7382 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/1.144, allocations: 0 / 0.7382 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/1.144, allocations: 0.5224 MB / 0.7387 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/1.145, allocations: 119.5 kB / 0.7388 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/1.145, allocations: 0.6948 MB / 0.7395 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of SimCode: time 2.054e-06/1.145, allocations: 0 / 0.7395 GB, free: 6.457 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)