Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.004878/0.004878, allocations: 187 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7206/0.7206, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.365/1.365, allocations: 221.3 MB / 395 MB, free: 10.18 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.001016/0.001016, allocations: 90.09 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3698/0.3708, allocations: 88.44 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.525, allocations: 82.3 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.9771, allocations: 110.4 MB / 0.7412 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.9773, allocations: 83.59 kB / 0.7412 GB, free: 10.97 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.00761/0.985, allocations: 3.054 MB / 0.7442 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.985, allocations: 15.69 kB / 0.7442 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.9851, allocations: 79.19 kB / 0.7443 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.9853, allocations: 244.7 kB / 0.7445 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.9853, allocations: 150.6 kB / 0.7447 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.9854, allocations: 153.8 kB / 0.7448 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.63e-05/0.9854, allocations: 155.7 kB / 0.745 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.524e-05/0.9855, allocations: 106.5 kB / 0.7451 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.9855, allocations: 75.28 kB / 0.7451 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.9856, allocations: 154.5 kB / 0.7453 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/0.9856, allocations: 158.3 kB / 0.7454 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.9859, allocations: 428.5 kB / 0.7459 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.086e-05/0.986, allocations: 169.1 kB / 0.746 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.986, allocations: 84.02 kB / 0.7461 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.9861, allocations: 75.28 kB / 0.7462 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.9861, allocations: 107.3 kB / 0.7463 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.9861, allocations: 0 / 0.7463 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.116e-05/0.9862, allocations: 33.75 kB / 0.7463 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.9862, allocations: 58.84 kB / 0.7464 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.9863, allocations: 94.42 kB / 0.7465 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.9864, allocations: 25.7 kB / 0.7465 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.9864, allocations: 80.14 kB / 0.7466 GB, free: 24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.9864, allocations: 0 / 0.7466 GB, free: 24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/0.9864, allocations: 0 / 0.7466 GB, free: 24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9866, allocations: 318.9 kB / 0.7469 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.9866, allocations: 7.938 kB / 0.7469 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-06/0.9866, allocations: 5.047 kB / 0.7469 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.9866, allocations: 75.28 kB / 0.7469 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-05/0.9867, allocations: 75.28 kB / 0.747 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.522e-05/0.9867, allocations: 31.11 kB / 0.747 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.9868, allocations: 3.906 kB / 0.747 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/0.9868, allocations: 79.22 kB / 0.7471 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-05/0.9869, allocations: 150.6 kB / 0.7473 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-05/0.9869, allocations: 84.53 kB / 0.7473 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.666e-05/0.987, allocations: 155 kB / 0.7475 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.9871, allocations: 76.73 kB / 0.7476 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.9871, allocations: 78.41 kB / 0.7476 GB, free: 22.89 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 (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 0.0001174/0.9873, allocations: 259.4 kB / 0.7479 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.9873, allocations: 110.5 kB / 0.748 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.9874, allocations: 107 kB / 0.7481 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-05/0.9875, allocations: 180.2 kB / 0.7483 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.415e-05/0.9875, allocations: 181.7 kB / 0.7484 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.687e-05/0.9876, allocations: 179.4 kB / 0.7486 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.9878, allocations: 384.7 kB / 0.749 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-05/0.9879, allocations: 108.9 kB / 0.7491 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.9879, allocations: 102.4 kB / 0.7492 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.929e-05/0.988, allocations: 180.3 kB / 0.7494 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.9881, allocations: 188.9 kB / 0.7495 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.465e-05/0.9882, allocations: 184.5 kB / 0.7497 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.96e-05/0.9882, allocations: 181.7 kB / 0.7499 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001511/0.9884, allocations: 312.4 kB / 0.7502 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002895/0.9887, allocations: 0.6666 MB / 0.7508 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.9888, allocations: 183.4 kB / 0.751 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.9889, allocations: 185.6 kB / 0.7512 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.989, allocations: 108 kB / 0.7513 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/0.9891, allocations: 177.8 kB / 0.7515 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.9891, allocations: 104.8 kB / 0.7516 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.295e-05/0.9892, allocations: 80.66 kB / 0.7516 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009353/0.9901, allocations: 8 kB / 0.7516 GB, free: 18.62 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.0002654/0.9904, allocations: 183 kB / 0.7518 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.701e-05/0.9904, allocations: 7.125 kB / 0.7518 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9904, allocations: 3.938 kB / 0.7518 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.9905, allocations: 0 / 0.7518 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.9908, allocations: 0.5275 MB / 0.7523 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.991, allocations: 120 kB / 0.7525 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.9914, allocations: 0.6882 MB / 0.7531 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.9914, allocations: 0 / 0.7531 GB, free: 17.09 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)