Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_dev_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.00184/0.00184, allocations: 178.8 kB / 7.457 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6926/0.6926, allocations: 133.5 MB / 141.4 MB, free: 4.883 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.3 MB / 395 MB, free: 13.87 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 99.41 kB / 477.8 MB, free: 11.17 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3013/0.3024, allocations: 88.45 MB / 0.5529 GB, free: 49.93 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.7926, allocations: 82.3 MB / 0.6333 GB, free: 5.629 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.9536, allocations: 110.7 MB / 0.7414 GB, free: 10.86 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.9539, allocations: 79.95 kB / 0.7415 GB, free: 10.79 MB / 0.5183 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.009764/0.9637, allocations: 3.621 MB / 0.745 GB, free: 7.137 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9637, allocations: 12 kB / 0.745 GB, free: 7.125 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.9638, allocations: 83.19 kB / 0.7451 GB, free: 7.043 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.964, allocations: 246.3 kB / 0.7453 GB, free: 6.762 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.964, allocations: 158.5 kB / 0.7455 GB, free: 6.605 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.9641, allocations: 154.6 kB / 0.7456 GB, free: 6.453 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.719e-05/0.9641, allocations: 154.5 kB / 0.7458 GB, free: 6.301 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.069e-05/0.9642, allocations: 101 kB / 0.7459 GB, free: 6.195 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.9642, allocations: 79.28 kB / 0.7459 GB, free: 6.117 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.9643, allocations: 150.6 kB / 0.7461 GB, free: 5.969 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.9643, allocations: 154.6 kB / 0.7462 GB, free: 5.816 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.9646, allocations: 430.5 kB / 0.7466 GB, free: 5.359 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.9647, allocations: 177.1 kB / 0.7468 GB, free: 5.176 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.9647, allocations: 80.14 kB / 0.7469 GB, free: 5.094 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.9647, allocations: 75.28 kB / 0.747 GB, free: 5.02 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.9648, allocations: 109.8 kB / 0.7471 GB, free: 4.902 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.9648, allocations: 0 / 0.7471 GB, free: 4.902 MB / 0.5183 GB Notification: Performance of matching and sorting (n=0): time 7.143e-05/0.9649, allocations: 33.61 kB / 0.7471 GB, free: 4.863 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.9649, allocations: 63.34 kB / 0.7472 GB, free: 4.789 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.965, allocations: 89 kB / 0.7472 GB, free: 4.695 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.965, allocations: 25.7 kB / 0.7473 GB, free: 4.664 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.9651, allocations: 88.14 kB / 0.7474 GB, free: 4.574 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-06/0.9651, allocations: 0 / 0.7474 GB, free: 4.574 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.9651, allocations: 0 / 0.7474 GB, free: 4.574 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.9652, allocations: 314.8 kB / 0.7477 GB, free: 4.258 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.9652, allocations: 4 kB / 0.7477 GB, free: 4.254 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.9652, allocations: 4 kB / 0.7477 GB, free: 4.25 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.9653, allocations: 16.02 kB / 0.7477 GB, free: 4.234 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.9653, allocations: 0 / 0.7477 GB, free: 4.234 MB / 0.5183 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001072/0.9654, allocations: 45.61 kB / 0.7477 GB, free: 4.184 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.9654, allocations: 4 kB / 0.7477 GB, free: 4.18 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.9654, allocations: 0 / 0.7477 GB, free: 4.18 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.9654, allocations: 4 kB / 0.7477 GB, free: 4.176 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.9654, allocations: 0 / 0.7477 GB, free: 4.176 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.9654, allocations: 0 / 0.7477 GB, free: 4.176 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.9655, allocations: 3.984 kB / 0.7477 GB, free: 4.172 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.9655, allocations: 8.031 kB / 0.7477 GB, free: 4.164 MB / 0.5183 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.326e-05/0.9656, allocations: 188.1 kB / 0.7479 GB, free: 3.973 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.9657, allocations: 101 kB / 0.748 GB, free: 3.867 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.9657, allocations: 108.5 kB / 0.7481 GB, free: 3.75 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.757e-05/0.9658, allocations: 188.1 kB / 0.7483 GB, free: 3.559 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.623e-05/0.9659, allocations: 176.3 kB / 0.7485 GB, free: 3.379 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.146e-05/0.9659, allocations: 184.3 kB / 0.7486 GB, free: 3.191 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.9661, allocations: 389.6 kB / 0.749 GB, free: 2.766 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.9661, allocations: 101 kB / 0.7491 GB, free: 2.66 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.9662, allocations: 101 kB / 0.7492 GB, free: 2.555 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.615e-05/0.9662, allocations: 184.2 kB / 0.7494 GB, free: 2.367 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.9663, allocations: 185.6 kB / 0.7496 GB, free: 2.18 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.961e-05/0.9664, allocations: 176.5 kB / 0.7497 GB, free: 2 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.624e-05/0.9664, allocations: 188.2 kB / 0.7499 GB, free: 1.809 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000112/0.9665, allocations: 299.7 kB / 0.7502 GB, free: 1.492 MB / 0.5183 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002333/0.9668, allocations: 0.6799 MB / 0.7509 GB, free: 0.7852 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.9669, allocations: 186 kB / 0.751 GB, free: 0.5781 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.9669, allocations: 180.5 kB / 0.7512 GB, free: 404 kB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.967, allocations: 105 kB / 0.7513 GB, free: 292 kB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.9671, allocations: 192.3 kB / 0.7515 GB, free: 92 kB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.9671, allocations: 104.9 kB / 0.7516 GB, free: 15.98 MB / 0.5339 GB Notification: Performance of sort global known variables: time 3.516e-05/0.9672, allocations: 83.28 kB / 0.7517 GB, free: 15.9 MB / 0.5339 GB Notification: Performance of remove unused functions: time 0.0008667/0.968, allocations: 4 kB / 0.7517 GB, free: 15.89 MB / 0.5339 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.0002542/0.9683, allocations: 179.1 kB / 0.7518 GB, free: 15.71 MB / 0.5339 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.9684, allocations: 8 kB / 0.7519 GB, free: 15.7 MB / 0.5339 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9684, allocations: 4.062 kB / 0.7519 GB, free: 15.7 MB / 0.5339 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.9684, allocations: 0 / 0.7519 GB, free: 15.7 MB / 0.5339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.9687, allocations: 0.5293 MB / 0.7524 GB, free: 15.16 MB / 0.5339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.9689, allocations: 127.1 kB / 0.7525 GB, free: 15.02 MB / 0.5339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.9692, allocations: 0.6958 MB / 0.7532 GB, free: 14.29 MB / 0.5339 GB Notification: Performance of SimCode: time 2.41e-07/0.9692, allocations: 0 / 0.7532 GB, free: 14.29 MB / 0.5339 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)