Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [: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.003185/0.003185, allocations: 179.4 kB / 7.457 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.6862/0.6862, allocations: 133.5 MB / 141.4 MB, free: 15.62 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.537/1.537, allocations: 221.3 MB / 395 MB, free: 10.17 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.00136/0.00136, allocations: 87.48 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.029e-05/1.032e-05, allocations: 3 kB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 82.31 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6611/0.863, allocations: 111.6 MB / 0.7422 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.8634, allocations: 80.22 kB / 0.7422 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003299/0.8667, allocations: 0.8322 MB / 0.7431 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.8667, allocations: 1.312 kB / 0.7431 GB, free: 10.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004415/0.8671, allocations: 342.8 kB / 0.7434 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.8672, allocations: 7.688 kB / 0.7434 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.8673, allocations: 3.844 kB / 0.7434 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.8674, allocations: 179.4 kB / 0.7436 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.8675, allocations: 3.844 kB / 0.7436 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.8675, allocations: 0 / 0.7436 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.141e-05/0.8676, allocations: 24.72 kB / 0.7436 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.8677, allocations: 40.44 kB / 0.7436 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8677, allocations: 1.5 kB / 0.7436 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8677, allocations: 3.844 kB / 0.7436 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.8677, allocations: 4 kB / 0.7436 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.8682, allocations: 257.3 kB / 0.7439 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.8684, allocations: 52.16 kB / 0.7439 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.8684, allocations: 31.78 kB / 0.744 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.8684, allocations: 3.938 kB / 0.744 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.8685, allocations: 37.59 kB / 0.744 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.8685, allocations: 0 / 0.744 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0001954/0.8687, allocations: 52.16 kB / 0.7441 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.8687, allocations: 51.41 kB / 0.7441 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/0.8688, allocations: 92.97 kB / 0.7442 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.8688, allocations: 25.7 kB / 0.7442 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.8689, allocations: 97.19 kB / 0.7443 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.8689, allocations: 12.2 kB / 0.7443 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.8689, allocations: 0.9375 kB / 0.7443 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8691, allocations: 318.9 kB / 0.7446 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.8691, allocations: 10.28 kB / 0.7446 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.8691, allocations: 6.938 kB / 0.7446 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.8691, allocations: 10.48 kB / 0.7447 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8692, allocations: 0 / 0.7447 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.694e-05/0.8692, allocations: 62.38 kB / 0.7447 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.8693, allocations: 9.344 kB / 0.7447 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8693, allocations: 0 / 0.7447 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.8693, allocations: 0 / 0.7447 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.8694, allocations: 16.08 kB / 0.7447 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8694, allocations: 0 / 0.7447 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.8694, allocations: 0 / 0.7447 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.8694, allocations: 5.344 kB / 0.7447 GB, free: 24.96 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 (5): * Single equations (assignments): 5 * 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.037e-05/0.8695, allocations: 104.9 kB / 0.7448 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.8695, allocations: 3.875 kB / 0.7448 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.8697, allocations: 83 kB / 0.7449 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8697, allocations: 1.547 kB / 0.7449 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8697, allocations: 3.906 kB / 0.7449 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.8697, allocations: 0 / 0.7449 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.8699, allocations: 151.8 kB / 0.7451 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8699, allocations: 0 / 0.7451 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.87, allocations: 13.41 kB / 0.7451 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.87, allocations: 0 / 0.7451 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.87, allocations: 0 / 0.7451 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.87, allocations: 3.906 kB / 0.7451 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.87, allocations: 4.875 kB / 0.7451 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001564/0.8702, allocations: 168.1 kB / 0.7453 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.8702, allocations: 84.95 kB / 0.7453 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.8703, allocations: 1.594 kB / 0.7453 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.8703, allocations: 0 / 0.7453 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.8704, allocations: 1.453 kB / 0.7453 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.8704, allocations: 7.844 kB / 0.7454 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.642e-05/0.8704, allocations: 87.97 kB / 0.7454 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002106/0.8706, allocations: 11.62 kB / 0.7454 GB, free: 24.32 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 (8): * Single equations (assignments): 8 * 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.000129/0.8708, allocations: 94.31 kB / 0.7455 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.8709, allocations: 27.42 kB / 0.7456 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.8709, allocations: 0 / 0.7456 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.415e-05/0.871, allocations: 30.88 kB / 0.7456 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.8711, allocations: 3.812 kB / 0.7456 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.8714, allocations: 85.12 kB / 0.7457 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.8717, allocations: 0.6989 MB / 0.7464 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.8717, allocations: 0 / 0.7464 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.00244/0.8742, allocations: 461.1 kB / 0.7468 GB, free: 23.39 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)