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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.003943/0.003944, allocations: 179.5 kB / 7.454 MB, free: 2.523 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8025/0.8025, allocations: 133.5 MB / 141.4 MB, free: 15.77 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.645/1.645, allocations: 221.3 MB / 395 MB, free: 10.28 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.0009886/0.0009886, allocations: 92.53 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5146/0.5156, allocations: 88.44 MB / 0.5529 GB, free: 88.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.7204, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5896/1.31, allocations: 111.6 MB / 0.7423 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.31, allocations: 82.28 kB / 0.7423 GB, free: 10.77 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.003401/1.314, allocations: 1.158 MB / 0.7435 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.314, allocations: 11.69 kB / 0.7435 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/1.314, allocations: 3.844 kB / 0.7435 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/1.314, allocations: 168.6 kB / 0.7436 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.314, allocations: 3.875 kB / 0.7436 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/1.314, allocations: 1.859 kB / 0.7436 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.312e-05/1.314, allocations: 23.7 kB / 0.7437 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/1.314, allocations: 48.78 kB / 0.7437 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/1.314, allocations: 0 / 0.7437 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/1.314, allocations: 5.344 kB / 0.7437 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.314, allocations: 3.984 kB / 0.7437 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/1.315, allocations: 265 kB / 0.744 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/1.315, allocations: 51.95 kB / 0.744 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/1.315, allocations: 21.8 kB / 0.744 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/1.315, allocations: 3.312 kB / 0.744 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/1.315, allocations: 38.41 kB / 0.7441 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/1.315, allocations: 0 / 0.7441 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0001657/1.315, allocations: 58.88 kB / 0.7441 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/1.315, allocations: 51.41 kB / 0.7442 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/1.315, allocations: 93.58 kB / 0.7443 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/1.315, allocations: 25.7 kB / 0.7443 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/1.315, allocations: 89.39 kB / 0.7444 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/1.315, allocations: 17.69 kB / 0.7444 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.315, allocations: 4 kB / 0.7444 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.315, allocations: 312.7 kB / 0.7447 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/1.315, allocations: 7.312 kB / 0.7447 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/1.315, allocations: 11.41 kB / 0.7447 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/1.316, allocations: 9.484 kB / 0.7447 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.316, allocations: 0 / 0.7447 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.923e-05/1.316, allocations: 60.83 kB / 0.7448 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.316, allocations: 7.625 kB / 0.7448 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.316, allocations: 0 / 0.7448 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.316, allocations: 4 kB / 0.7448 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/1.316, allocations: 18.41 kB / 0.7448 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.316, allocations: 0 / 0.7448 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/1.316, allocations: 0 / 0.7448 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/1.316, allocations: 3.844 kB / 0.7448 GB, free: 25.13 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.55e-05/1.316, allocations: 104.9 kB / 0.7449 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/1.316, allocations: 1.406 kB / 0.7449 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/1.316, allocations: 82.27 kB / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.316, allocations: 0 / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.316, allocations: 5.156 kB / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.316, allocations: 0 / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/1.316, allocations: 150.8 kB / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/1.316, allocations: 0 / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/1.316, allocations: 13.47 kB / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.316, allocations: 3.875 kB / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/1.316, allocations: 1.266 kB / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.316, allocations: 3.906 kB / 0.7452 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.316, allocations: 1.5 kB / 0.7452 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001514/1.317, allocations: 169 kB / 0.7453 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000316/1.317, allocations: 0.5343 MB / 0.7459 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/1.317, allocations: 86.59 kB / 0.7459 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/1.317, allocations: 3.875 kB / 0.7459 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/1.317, allocations: 0 / 0.7459 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/1.317, allocations: 8.438 kB / 0.746 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/1.317, allocations: 3.875 kB / 0.746 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.079e-05/1.317, allocations: 76.73 kB / 0.746 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000839/1.318, allocations: 15.28 kB / 0.746 GB, free: 23.98 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.0001465/1.318, allocations: 98.27 kB / 0.7461 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001007/1.318, allocations: 32.11 kB / 0.7462 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.318, allocations: 0 / 0.7462 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/1.318, allocations: 26.19 kB / 0.7462 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/1.318, allocations: 0 / 0.7462 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/1.319, allocations: 96.48 kB / 0.7463 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/1.319, allocations: 0.6985 MB / 0.747 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.319, allocations: 0 / 0.747 GB, free: 23.11 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)