Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.003388/0.003388, allocations: 180.6 kB / 7.453 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.777/0.777, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.392/1.392, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009951/0.0009949, allocations: 97.77 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4032/0.4042, allocations: 88.44 MB / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.5673, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5807/1.148, allocations: 110.7 MB / 0.7414 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.148, allocations: 89.56 kB / 0.7415 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01007/1.158, allocations: 3.618 MB / 0.745 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/1.159, allocations: 11.62 kB / 0.745 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/1.159, allocations: 82.88 kB / 0.7451 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/1.159, allocations: 239 kB / 0.7453 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/1.159, allocations: 155 kB / 0.7455 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/1.159, allocations: 150.6 kB / 0.7456 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.791e-05/1.159, allocations: 162.4 kB / 0.7458 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.411e-05/1.159, allocations: 101.8 kB / 0.7459 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/1.159, allocations: 75.28 kB / 0.7459 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/1.159, allocations: 150.6 kB / 0.7461 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-05/1.159, allocations: 158.8 kB / 0.7462 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/1.16, allocations: 426.2 kB / 0.7466 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.858e-05/1.16, allocations: 176 kB / 0.7468 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/1.16, allocations: 84.08 kB / 0.7469 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/1.16, allocations: 76.08 kB / 0.747 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.16, allocations: 109.8 kB / 0.7471 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/1.16, allocations: 0 / 0.7471 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.646e-05/1.16, allocations: 34.25 kB / 0.7471 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.16, allocations: 51.41 kB / 0.7471 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/1.16, allocations: 97.84 kB / 0.7472 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/1.16, allocations: 29.58 kB / 0.7473 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/1.16, allocations: 84.88 kB / 0.7474 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/1.16, allocations: 0 / 0.7474 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/1.16, allocations: 0 / 0.7474 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.16, allocations: 315.6 kB / 0.7477 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/1.16, allocations: 3.969 kB / 0.7477 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/1.16, allocations: 12.92 kB / 0.7477 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/1.16, allocations: 8.703 kB / 0.7477 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.16, allocations: 0.6562 kB / 0.7477 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001257/1.16, allocations: 46.91 kB / 0.7477 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.16, allocations: 4.766 kB / 0.7477 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.16, allocations: 0 / 0.7477 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/1.16, allocations: 4.125 kB / 0.7477 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/1.16, allocations: 0 / 0.7477 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/1.16, allocations: 0.5625 kB / 0.7477 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/1.161, allocations: 4.359 kB / 0.7477 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.161, allocations: 0.5625 kB / 0.7477 GB, free: 23.4 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.924e-05/1.161, allocations: 180.8 kB / 0.7479 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/1.161, allocations: 106 kB / 0.748 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/1.161, allocations: 116.2 kB / 0.7481 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-05/1.161, allocations: 177.6 kB / 0.7483 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.596e-05/1.161, allocations: 180.8 kB / 0.7485 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/1.161, allocations: 180.9 kB / 0.7486 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/1.161, allocations: 391.4 kB / 0.749 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-05/1.161, allocations: 101.7 kB / 0.7491 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/1.161, allocations: 113.5 kB / 0.7492 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.854e-05/1.161, allocations: 176.9 kB / 0.7494 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/1.162, allocations: 182.2 kB / 0.7496 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.293e-05/1.162, allocations: 181 kB / 0.7497 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.313e-05/1.162, allocations: 180.2 kB / 0.7499 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001245/1.162, allocations: 309.5 kB / 0.7502 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002922/1.162, allocations: 0.6731 MB / 0.7509 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/1.162, allocations: 187.8 kB / 0.751 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.167e-05/1.162, allocations: 181.3 kB / 0.7512 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/1.162, allocations: 101.7 kB / 0.7513 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/1.162, allocations: 184.9 kB / 0.7515 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/1.162, allocations: 108.8 kB / 0.7516 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.05e-05/1.162, allocations: 83.7 kB / 0.7517 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008682/1.163, allocations: 8.906 kB / 0.7517 GB, free: 19.21 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.0002501/1.164, allocations: 179 kB / 0.7518 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001051/1.164, allocations: 16.27 kB / 0.7519 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.164, allocations: 0 / 0.7519 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/1.164, allocations: 0 / 0.7519 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/1.164, allocations: 0.5229 MB / 0.7524 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/1.164, allocations: 129 kB / 0.7525 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/1.165, allocations: 0.6884 MB / 0.7532 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/1.165, allocations: 0 / 0.7532 GB, free: 17.66 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)