Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.001041/0.001041, allocations: 183.3 kB / 7.463 MB, free: 484 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.68/0.68, allocations: 133.5 MB / 141.4 MB, free: 3.73 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.3 MB / 395 MB, free: 14.07 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009545, allocations: 97.38 kB / 477.8 MB, free: 3.988 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.4337/0.4348, allocations: 88.44 MB / 0.5529 GB, free: 90.78 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.5953, allocations: 82.3 MB / 0.6333 GB, free: 38.45 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.7393, allocations: 111.4 MB / 0.7421 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.7396, allocations: 87.94 kB / 0.7422 GB, free: 6.77 MB / 0.5294 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.01124/0.7509, allocations: 4.041 MB / 0.7462 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7509, allocations: 8 kB / 0.7462 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.751, allocations: 75.28 kB / 0.7462 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.7512, allocations: 242.2 kB / 0.7465 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.7512, allocations: 158.6 kB / 0.7466 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.7513, allocations: 158.5 kB / 0.7468 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.303e-05/0.7513, allocations: 150.6 kB / 0.7469 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.269e-05/0.7514, allocations: 104.9 kB / 0.747 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.7514, allocations: 79.22 kB / 0.7471 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.7515, allocations: 150.6 kB / 0.7472 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-05/0.7516, allocations: 154.6 kB / 0.7474 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.7518, allocations: 434.4 kB / 0.7478 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.807e-05/0.7519, allocations: 165.1 kB / 0.748 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.7519, allocations: 80.14 kB / 0.748 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.7519, allocations: 79.28 kB / 0.7481 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.752, allocations: 105.8 kB / 0.7482 GB, free: 476 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.752, allocations: 0 / 0.7482 GB, free: 476 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.678e-05/0.7521, allocations: 33.64 kB / 0.7482 GB, free: 436 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.7521, allocations: 51.41 kB / 0.7483 GB, free: 372 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.7522, allocations: 89 kB / 0.7484 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.7522, allocations: 25.7 kB / 0.7484 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.7522, allocations: 88.27 kB / 0.7485 GB, free: 152 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.82e-07/0.7522, allocations: 0 / 0.7485 GB, free: 152 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.7522, allocations: 0 / 0.7485 GB, free: 152 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.261/1.013, allocations: 314.8 kB / 0.7488 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/1.013, allocations: 0 / 0.7488 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-06/1.013, allocations: 0 / 0.7488 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/1.013, allocations: 75.28 kB / 0.7489 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/1.013, allocations: 77.78 kB / 0.7489 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.045e-05/1.013, allocations: 31.27 kB / 0.749 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.013, allocations: 7.344 kB / 0.749 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.013, allocations: 75.28 kB / 0.749 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.448e-05/1.014, allocations: 154.3 kB / 0.7492 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-05/1.014, allocations: 79.25 kB / 0.7493 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/1.014, allocations: 160.6 kB / 0.7494 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/1.014, allocations: 80.03 kB / 0.7495 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/1.014, allocations: 78.88 kB / 0.7496 GB, free: 165.7 MB / 0.5294 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 (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 prepare postOptimizeDAE: time 7.879e-05/1.014, allocations: 262.1 kB / 0.7498 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/1.014, allocations: 104.5 kB / 0.7499 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/1.014, allocations: 108.1 kB / 0.75 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/1.014, allocations: 182.2 kB / 0.7502 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.594e-05/1.014, allocations: 185.9 kB / 0.7504 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.114e-05/1.014, allocations: 179.9 kB / 0.7505 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/1.014, allocations: 385.1 kB / 0.7509 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.014, allocations: 108.5 kB / 0.751 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/1.014, allocations: 101 kB / 0.7511 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.919e-05/1.014, allocations: 176.3 kB / 0.7513 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/1.014, allocations: 185.9 kB / 0.7515 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-05/1.014, allocations: 185.5 kB / 0.7516 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.141e-05/1.014, allocations: 180.1 kB / 0.7518 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.203e-05/1.014, allocations: 305.3 kB / 0.7521 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001695/1.015, allocations: 0.6755 MB / 0.7528 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/1.015, allocations: 184.2 kB / 0.7529 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/1.015, allocations: 180.2 kB / 0.7531 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/1.015, allocations: 107.2 kB / 0.7532 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/1.015, allocations: 180.3 kB / 0.7534 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/1.015, allocations: 103.9 kB / 0.7535 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.379e-05/1.015, allocations: 82.75 kB / 0.7536 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001178/1.016, allocations: 62.53 kB / 0.7536 GB, free: 161.5 MB / 0.5294 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.0005128/1.017, allocations: 324.1 kB / 0.7539 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 3.43e-05/1.017, allocations: 0 / 0.7539 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.017, allocations: 0 / 0.7539 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/1.017, allocations: 0 / 0.7539 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/1.017, allocations: 0.5202 MB / 0.7544 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/1.017, allocations: 122.1 kB / 0.7546 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/1.017, allocations: 0.6888 MB / 0.7552 GB, free: 160 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/1.017, allocations: 0 / 0.7552 GB, free: 160 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)