Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.317/1.317, allocations: 285.5 MB / 292.8 MB, free: 10.4 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009266/0.0009265, allocations: 185.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007507/0.0007507, allocations: 90.11 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1733/0.174, allocations: 121.5 MB / 0.8512 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.5861, allocations: 115.3 MB / 0.9638 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.7179, allocations: 137.7 MB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.7181, allocations: 80.88 kB / 1.098 GB, free: 2.137 MB / 0.698 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.006953/0.7251, allocations: 2.697 MB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.7251, allocations: 8.5 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.7252, allocations: 8.469 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.926e-05/0.7253, allocations: 160.8 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.7253, allocations: 4.812 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.7253, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.613e-05/0.7254, allocations: 20.42 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/0.7255, allocations: 65.47 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-06/0.7255, allocations: 0 / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7255, allocations: 4.5 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.7255, allocations: 0.625 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.7258, allocations: 242.8 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.788e-05/0.7259, allocations: 35.2 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.7259, allocations: 13.45 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.7259, allocations: 0.5625 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/0.726, allocations: 65.86 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.726, allocations: 0 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001323/0.7261, allocations: 50.19 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7262, allocations: 111.2 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.251e-05/0.7262, allocations: 95 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.7263, allocations: 26.55 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.7263, allocations: 84.14 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.7263, allocations: 15.23 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-06/0.7263, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.7264, allocations: 314.8 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.7265, allocations: 12 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.7265, allocations: 26.58 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.7265, allocations: 19.67 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.7265, allocations: 0.875 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.853e-05/0.7266, allocations: 62.53 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.7266, allocations: 8.062 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.7267, allocations: 3.938 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.7267, allocations: 0 / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.7267, allocations: 4.531 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.7267, allocations: 5.406 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.7269, allocations: 12.55 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.7269, allocations: 1.125 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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.649e-05/0.727, allocations: 107.3 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.727, allocations: 4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.727, allocations: 3.688 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.727, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.727, allocations: 7.906 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.727, allocations: 4.516 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.492e-05/0.7271, allocations: 146.8 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7271, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.7272, allocations: 10.59 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7272, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.7272, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7272, allocations: 4.031 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7272, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.738e-05/0.7273, allocations: 81.02 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001695/0.7275, allocations: 461.5 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.7275, allocations: 92.94 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.7276, allocations: 8 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.7277, allocations: 7.984 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.7277, allocations: 7.984 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7277, allocations: 1.312 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.069e-05/0.7277, allocations: 83.28 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007274/0.7285, allocations: 12 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001082/0.7286, allocations: 107 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.316e-05/0.7287, allocations: 27.98 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.7287, allocations: 0 / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.7287, allocations: 19.94 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.938e-05/0.7288, allocations: 3.906 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.729, allocations: 81.17 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.7293, allocations: 0.6876 MB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7293, allocations: 4 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)