Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.7478/0.7478, allocations: 141.8 MB / 149.1 MB, free: 2.242 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.001049/0.001049, allocations: 187.1 kB / 182 MB, free: 1.781 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.4 MB / 436 MB, free: 6.438 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.000927/0.000927, allocations: 92.59 kB / 0.5071 GB, free: 3.105 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 271.1 kB / 0.5885 GB, free: 48.09 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1957/0.1974, allocations: 89.66 MB / 0.676 GB, free: 6.348 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.6354, allocations: 82.76 MB / 0.7568 GB, free: 25.49 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.7818, allocations: 108.2 MB / 0.8625 GB, free: 13.09 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.7821, allocations: 87.8 kB / 0.8626 GB, free: 13.01 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002581/0.7847, allocations: 0.8526 MB / 0.8635 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.7847, allocations: 8 kB / 0.8635 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.7848, allocations: 0 / 0.8635 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.7849, allocations: 167 kB / 0.8636 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.7849, allocations: 4 kB / 0.8636 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.7849, allocations: 0 / 0.8636 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.862e-05/0.785, allocations: 15.94 kB / 0.8636 GB, free: 11.88 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.931e-05/0.7851, allocations: 41.62 kB / 0.8637 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.7851, allocations: 0 / 0.8637 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.7851, allocations: 3.984 kB / 0.8637 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.7851, allocations: 0 / 0.8637 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.7855, allocations: 229.4 kB / 0.8639 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.7856, allocations: 42.55 kB / 0.8639 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.7857, allocations: 16.92 kB / 0.864 GB, free: 11.5 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.7857, allocations: 0 / 0.864 GB, free: 11.5 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.7857, allocations: 30.56 kB / 0.864 GB, free: 11.46 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.7857, allocations: 0 / 0.864 GB, free: 11.46 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0001588/0.7859, allocations: 45.78 kB / 0.864 GB, free: 11.41 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.7859, allocations: 51.41 kB / 0.8641 GB, free: 11.35 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.691e-05/0.786, allocations: 85 kB / 0.8642 GB, free: 11.26 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.786, allocations: 25.7 kB / 0.8642 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.786, allocations: 92.03 kB / 0.8643 GB, free: 11.13 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.7861, allocations: 11.84 kB / 0.8643 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.7861, allocations: 0 / 0.8643 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7862, allocations: 314.8 kB / 0.8646 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.7862, allocations: 0 / 0.8646 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.7862, allocations: 8 kB / 0.8646 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.7863, allocations: 11.92 kB / 0.8646 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.7863, allocations: 0 / 0.8646 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.228e-05/0.7864, allocations: 45.69 kB / 0.8647 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.7864, allocations: 11.91 kB / 0.8647 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7864, allocations: 0 / 0.8647 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.7864, allocations: 0 / 0.8647 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.7865, allocations: 4 kB / 0.8647 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7865, allocations: 0 / 0.8647 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.7865, allocations: 3.938 kB / 0.8647 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.7865, allocations: 4 kB / 0.8647 GB, free: 10.71 MB / 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 (3): * Single equations (assignments): 3 * 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.012e-05/0.7866, allocations: 105 kB / 0.8648 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.7866, allocations: 3.906 kB / 0.8648 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.7868, allocations: 73.16 kB / 0.8649 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7868, allocations: 0 / 0.8649 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.7868, allocations: 3.984 kB / 0.8649 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7868, allocations: 0 / 0.8649 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.787, allocations: 142.1 kB / 0.865 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.787, allocations: 64 / 0.865 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.787, allocations: 12 kB / 0.865 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.787, allocations: 0 / 0.865 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.7871, allocations: 0 / 0.865 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7871, allocations: 4 kB / 0.865 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7871, allocations: 3.938 kB / 0.865 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001284/0.7872, allocations: 151.5 kB / 0.8652 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002552/0.7875, allocations: 0.5233 MB / 0.8657 GB, free: 9.609 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.7875, allocations: 85.02 kB / 0.8657 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.7875, allocations: 4 kB / 0.8657 GB, free: 9.504 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.7876, allocations: 0 / 0.8657 GB, free: 9.504 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.7876, allocations: 0 / 0.8657 GB, free: 9.504 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.7876, allocations: 8 kB / 0.8658 GB, free: 9.496 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.72e-05/0.7877, allocations: 75.28 kB / 0.8658 GB, free: 9.422 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007796/0.7884, allocations: 4 kB / 0.8658 GB, free: 9.418 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 (6): * Single equations (assignments): 6 * 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.000127/0.7886, allocations: 102.2 kB / 0.8659 GB, free: 9.309 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.878e-05/0.7887, allocations: 23.94 kB / 0.866 GB, free: 9.285 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7887, allocations: 4 kB / 0.866 GB, free: 9.281 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.61e-05/0.7887, allocations: 16 kB / 0.866 GB, free: 9.266 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.7888, allocations: 3.906 kB / 0.866 GB, free: 9.262 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.7891, allocations: 67.92 kB / 0.866 GB, free: 9.172 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.7894, allocations: 0.6876 MB / 0.8667 GB, free: 8.461 MB / 0.5419 GB Notification: Performance of SimCode: time 3.126e-06/0.7894, allocations: 0 / 0.8667 GB, free: 8.461 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)