Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_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.004019/0.004019, allocations: 178.4 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7093/0.7093, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.707/1.707, allocations: 221.3 MB / 395 MB, free: 10.2 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.001041/0.001041, allocations: 90.41 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5729/0.574, allocations: 88.43 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.7836, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6678/1.452, allocations: 111.6 MB / 0.7423 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.452, allocations: 79.2 kB / 0.7423 GB, free: 10.59 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.003647/1.456, allocations: 1.162 MB / 0.7435 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/1.456, allocations: 8.938 kB / 0.7435 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/1.456, allocations: 4.688 kB / 0.7435 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/1.456, allocations: 173.4 kB / 0.7436 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/1.456, allocations: 3.906 kB / 0.7436 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/1.456, allocations: 0.875 kB / 0.7436 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.557e-05/1.456, allocations: 16.16 kB / 0.7437 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.991e-05/1.456, allocations: 57.22 kB / 0.7437 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.456, allocations: 3.938 kB / 0.7437 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.456, allocations: 3.625 kB / 0.7437 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.456, allocations: 0 / 0.7437 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/1.457, allocations: 256.5 kB / 0.744 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/1.457, allocations: 59.88 kB / 0.744 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/1.457, allocations: 29.77 kB / 0.7441 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/1.457, allocations: 0 / 0.7441 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/1.457, allocations: 39.59 kB / 0.7441 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/1.457, allocations: 0 / 0.7441 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0001686/1.457, allocations: 52.94 kB / 0.7441 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.457, allocations: 55.41 kB / 0.7442 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/1.457, allocations: 90.25 kB / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/1.457, allocations: 25.7 kB / 0.7443 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/1.457, allocations: 96.75 kB / 0.7444 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/1.457, allocations: 7.812 kB / 0.7444 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/1.457, allocations: 0 / 0.7444 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.458, allocations: 315.7 kB / 0.7447 GB, free: 25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/1.458, allocations: 15.16 kB / 0.7447 GB, free: 25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/1.458, allocations: 8.969 kB / 0.7447 GB, free: 25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/1.458, allocations: 13.11 kB / 0.7447 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.458, allocations: 0 / 0.7447 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.705e-05/1.458, allocations: 60.12 kB / 0.7448 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.458, allocations: 10.59 kB / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.458, allocations: 0 / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.458, allocations: 2.438 kB / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/1.458, allocations: 9.047 kB / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.458, allocations: 1.594 kB / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/1.458, allocations: 0 / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/1.458, allocations: 3.844 kB / 0.7448 GB, free: 24.95 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 8.112e-05/1.458, allocations: 108.9 kB / 0.7449 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/1.458, allocations: 0 / 0.7449 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/1.458, allocations: 83 kB / 0.745 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.458, allocations: 0 / 0.745 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.458, allocations: 3.906 kB / 0.745 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.458, allocations: 0.9844 kB / 0.745 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/1.458, allocations: 151.2 kB / 0.7452 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.458, allocations: 0 / 0.7452 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/1.458, allocations: 13.23 kB / 0.7452 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.458, allocations: 3.875 kB / 0.7452 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/1.458, allocations: 0 / 0.7452 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.458, allocations: 5.641 kB / 0.7452 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.458, allocations: 0.625 kB / 0.7452 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002039/1.459, allocations: 169.8 kB / 0.7453 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002887/1.459, allocations: 0.5381 MB / 0.7459 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/1.459, allocations: 85.45 kB / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/1.459, allocations: 5.391 kB / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/1.459, allocations: 0 / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/1.459, allocations: 1.547 kB / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/1.459, allocations: 5.031 kB / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.405e-05/1.459, allocations: 78.53 kB / 0.746 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007573/1.46, allocations: 16.77 kB / 0.7461 GB, free: 23.8 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.0001501/1.46, allocations: 104.7 kB / 0.7462 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.598e-05/1.46, allocations: 27.62 kB / 0.7462 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.46, allocations: 0 / 0.7462 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/1.46, allocations: 24 kB / 0.7462 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/1.46, allocations: 0 / 0.7462 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/1.461, allocations: 95.88 kB / 0.7463 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/1.461, allocations: 0.7015 MB / 0.747 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.461, allocations: 0 / 0.747 GB, free: 22.92 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)