Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7516/0.7516, allocations: 141.8 MB / 149.1 MB, free: 1.18 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 177.3 kB / 181.9 MB, free: 496 kB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 436 MB, free: 5.207 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 104 kB / 0.507 GB, free: 1.855 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 279.9 kB / 0.5885 GB, free: 47 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4563/0.4581, allocations: 89.63 MB / 0.676 GB, free: 59.36 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.6309, allocations: 82.78 MB / 0.7568 GB, free: 364 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.7928, allocations: 108.9 MB / 0.8632 GB, free: 3.305 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.7931, allocations: 85.97 kB / 0.8633 GB, free: 3.223 MB / 0.5419 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.003541/0.7966, allocations: 1.159 MB / 0.8644 GB, free: 2.02 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7967, allocations: 11.94 kB / 0.8644 GB, free: 2.008 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.7967, allocations: 7.906 kB / 0.8644 GB, free: 2 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.7969, allocations: 171 kB / 0.8646 GB, free: 1.793 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.7969, allocations: 0 / 0.8646 GB, free: 1.793 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.7969, allocations: 7.906 kB / 0.8646 GB, free: 1.785 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.104e-05/0.797, allocations: 27.94 kB / 0.8646 GB, free: 1.758 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.479e-05/0.7971, allocations: 49.62 kB / 0.8646 GB, free: 1.703 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.7971, allocations: 3.984 kB / 0.8647 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.7971, allocations: 0 / 0.8647 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7971, allocations: 0 / 0.8647 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.7975, allocations: 257.3 kB / 0.8649 GB, free: 1.41 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.7977, allocations: 54.59 kB / 0.865 GB, free: 1.348 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.7978, allocations: 25.02 kB / 0.865 GB, free: 1.32 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.7978, allocations: 0 / 0.865 GB, free: 1.32 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.7978, allocations: 42.56 kB / 0.865 GB, free: 1.27 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.7978, allocations: 0 / 0.865 GB, free: 1.27 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0001566/0.798, allocations: 53.62 kB / 0.8651 GB, free: 1.211 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.7981, allocations: 55.41 kB / 0.8651 GB, free: 1.145 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.7981, allocations: 93 kB / 0.8652 GB, free: 1.047 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.7982, allocations: 25.7 kB / 0.8652 GB, free: 1.016 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.7982, allocations: 84.05 kB / 0.8653 GB, free: 0.9297 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.7983, allocations: 23.73 kB / 0.8653 GB, free: 0.9062 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.7983, allocations: 0 / 0.8653 GB, free: 0.9062 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7984, allocations: 314.8 kB / 0.8656 GB, free: 0.5898 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.7984, allocations: 8 kB / 0.8656 GB, free: 0.582 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.7984, allocations: 8 kB / 0.8657 GB, free: 0.5742 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.7985, allocations: 15.98 kB / 0.8657 GB, free: 0.5586 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7985, allocations: 0 / 0.8657 GB, free: 0.5586 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.357e-05/0.7986, allocations: 53.59 kB / 0.8657 GB, free: 0.5 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.7986, allocations: 4 kB / 0.8657 GB, free: 0.4961 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7986, allocations: 0 / 0.8657 GB, free: 0.4961 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7986, allocations: 4 kB / 0.8657 GB, free: 0.4922 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.7987, allocations: 15.94 kB / 0.8657 GB, free: 488 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.7987, allocations: 3.984 kB / 0.8657 GB, free: 484 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.7987, allocations: 4 kB / 0.8657 GB, free: 480 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.7988, allocations: 0 / 0.8657 GB, free: 480 kB / 0.5419 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.491e-05/0.7988, allocations: 101 kB / 0.8658 GB, free: 372 kB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.7989, allocations: 7.906 kB / 0.8659 GB, free: 364 kB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.799, allocations: 77.36 kB / 0.8659 GB, free: 284 kB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.799, allocations: 0 / 0.8659 GB, free: 284 kB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.7991, allocations: 4 kB / 0.8659 GB, free: 280 kB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7991, allocations: 0 / 0.8659 GB, free: 280 kB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.7992, allocations: 162 kB / 0.8661 GB, free: 80 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7992, allocations: 0 / 0.8661 GB, free: 80 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.7993, allocations: 12.19 kB / 0.8661 GB, free: 68 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7993, allocations: 0 / 0.8661 GB, free: 68 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.7993, allocations: 11.98 kB / 0.8661 GB, free: 56 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7993, allocations: 0 / 0.8661 GB, free: 56 kB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7993, allocations: 0 / 0.8661 GB, free: 56 kB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2812/1.081, allocations: 167.4 kB / 0.8663 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002138/1.081, allocations: 0.5304 MB / 0.8668 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/1.081, allocations: 80.95 kB / 0.8669 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/1.081, allocations: 3.938 kB / 0.8669 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/1.081, allocations: 3.438 kB / 0.8669 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/1.081, allocations: 3.562 kB / 0.8669 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/1.081, allocations: 7.406 kB / 0.8669 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.772e-05/1.081, allocations: 83.39 kB / 0.867 GB, free: 168 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000925/1.082, allocations: 7.719 kB / 0.867 GB, free: 168 MB / 0.5419 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.0001524/1.082, allocations: 94.56 kB / 0.8671 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001286/1.082, allocations: 34.98 kB / 0.8671 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.082, allocations: 0 / 0.8671 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.062e-05/1.082, allocations: 34.88 kB / 0.8671 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/1.083, allocations: 7.125 kB / 0.8671 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/1.083, allocations: 85.08 kB / 0.8672 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/1.083, allocations: 0.6971 MB / 0.8679 GB, free: 167.2 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/1.083, allocations: 0 / 0.8679 GB, free: 167.2 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)