Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [: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.005362/0.005362, allocations: 174.3 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.727/0.727, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.595/1.595, allocations: 221.3 MB / 395 MB, free: 10.23 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.001085/0.001085, allocations: 97.47 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.776e-06/8.817e-06, allocations: 2.406 kB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2133, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6596/0.873, allocations: 110.8 MB / 0.7415 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.8734, allocations: 81.47 kB / 0.7415 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.001988/0.8754, allocations: 441.8 kB / 0.742 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.8754, allocations: 0 / 0.742 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003245/0.8758, allocations: 308.4 kB / 0.7423 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.8758, allocations: 11.59 kB / 0.7423 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.8759, allocations: 8.656 kB / 0.7423 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.8761, allocations: 173.5 kB / 0.7424 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.8761, allocations: 0 / 0.7424 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.8761, allocations: 0 / 0.7424 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.89e-05/0.8762, allocations: 7.609 kB / 0.7424 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.478e-05/0.8762, allocations: 38.03 kB / 0.7425 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8763, allocations: 0 / 0.7425 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.8763, allocations: 0 / 0.7425 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8763, allocations: 0.8438 kB / 0.7425 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.8766, allocations: 224.1 kB / 0.7427 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.8767, allocations: 25.77 kB / 0.7427 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.8767, allocations: 21.23 kB / 0.7427 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.8768, allocations: 0 / 0.7427 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.8768, allocations: 33.94 kB / 0.7428 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8768, allocations: 0 / 0.7428 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.877, allocations: 38.66 kB / 0.7428 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.877, allocations: 52.06 kB / 0.7429 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.8771, allocations: 96.94 kB / 0.743 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.8771, allocations: 27.2 kB / 0.743 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.8772, allocations: 80.66 kB / 0.7431 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.8772, allocations: 8.328 kB / 0.7431 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.8772, allocations: 0 / 0.7431 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8774, allocations: 314.7 kB / 0.7434 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.8774, allocations: 7.969 kB / 0.7434 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.8774, allocations: 3.875 kB / 0.7434 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.593e-05/0.8774, allocations: 4.469 kB / 0.7434 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8774, allocations: 0 / 0.7434 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.852e-05/0.8775, allocations: 42.8 kB / 0.7434 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.8775, allocations: 8.266 kB / 0.7434 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8775, allocations: 0 / 0.7434 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8775, allocations: 0 / 0.7434 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.8776, allocations: 4.453 kB / 0.7434 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8776, allocations: 4.609 kB / 0.7434 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.8776, allocations: 0 / 0.7434 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.8777, allocations: 0 / 0.7434 GB, free: 25.18 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 (2): * Single equations (assignments): 2 * 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 8.879e-05/0.8778, allocations: 105.4 kB / 0.7435 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.8778, allocations: 4.375 kB / 0.7435 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.8778, allocations: 3.969 kB / 0.7435 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.8778, allocations: 3.438 kB / 0.7435 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8778, allocations: 0 / 0.7435 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8778, allocations: 0.7031 kB / 0.7435 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.878, allocations: 140.9 kB / 0.7437 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.878, allocations: 3.938 kB / 0.7437 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.878, allocations: 4.547 kB / 0.7437 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.878, allocations: 0 / 0.7437 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.8781, allocations: 0 / 0.7437 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.8781, allocations: 0.6562 kB / 0.7437 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.8781, allocations: 0 / 0.7437 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001688/0.8782, allocations: 136.6 kB / 0.7438 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.8783, allocations: 81.8 kB / 0.7439 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.8783, allocations: 0.7969 kB / 0.7439 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.8784, allocations: 0 / 0.7439 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.8784, allocations: 0.75 kB / 0.7439 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.8784, allocations: 3.844 kB / 0.7439 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.501e-05/0.8784, allocations: 79.62 kB / 0.744 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002186/0.8787, allocations: 3.844 kB / 0.744 GB, free: 24.59 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 (2): * Single equations (assignments): 2 * 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.0001483/0.8788, allocations: 99.66 kB / 0.7441 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.049e-05/0.8789, allocations: 15.12 kB / 0.7441 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8789, allocations: 0 / 0.7441 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.8789, allocations: 7.719 kB / 0.7441 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.8791, allocations: 12.11 kB / 0.7441 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.8793, allocations: 61.8 kB / 0.7442 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.8797, allocations: 0.6873 MB / 0.7448 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of SimCode: time 2.01e-07/0.8797, allocations: 0 / 0.7448 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.002003/0.8817, allocations: 231.3 kB / 0.7451 GB, free: 23.67 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)