Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7655/0.7655, allocations: 141.8 MB / 149.1 MB, free: 3.891 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.001056/0.001056, allocations: 180.3 kB / 181.9 MB, free: 15.62 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.398/1.398, allocations: 221.4 MB / 436 MB, free: 8.742 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.0009573/0.0009573, allocations: 100.1 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001858/0.001857, allocations: 287.9 kB / 0.5885 GB, free: 11.81 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2072/0.2091, allocations: 89.65 MB / 0.676 GB, free: 2.082 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.6697, allocations: 82.77 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.7905, allocations: 108.4 MB / 0.8627 GB, free: 3.773 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.7908, allocations: 81.03 kB / 0.8628 GB, free: 3.699 MB / 0.5263 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.0069/0.7977, allocations: 2.716 MB / 0.8655 GB, free: 0.9531 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7977, allocations: 8.531 kB / 0.8655 GB, free: 0.9453 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.7978, allocations: 8.938 kB / 0.8655 GB, free: 0.9375 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.7979, allocations: 163.1 kB / 0.8656 GB, free: 0.7383 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.7979, allocations: 0 / 0.8656 GB, free: 0.7383 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.798, allocations: 0.75 kB / 0.8656 GB, free: 0.7383 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.3e-05/0.798, allocations: 23.92 kB / 0.8656 GB, free: 0.7148 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.7981, allocations: 66.11 kB / 0.8657 GB, free: 0.6367 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.7981, allocations: 3.906 kB / 0.8657 GB, free: 0.6328 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.7982, allocations: 0.5625 kB / 0.8657 GB, free: 0.6328 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7982, allocations: 0 / 0.8657 GB, free: 0.6328 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.7985, allocations: 234.8 kB / 0.8659 GB, free: 376 kB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/0.7986, allocations: 40.8 kB / 0.866 GB, free: 328 kB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.7986, allocations: 20.77 kB / 0.866 GB, free: 304 kB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.7986, allocations: 0 / 0.866 GB, free: 304 kB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/0.7987, allocations: 56.77 kB / 0.8661 GB, free: 236 kB / 0.5263 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.7987, allocations: 0 / 0.8661 GB, free: 236 kB / 0.5263 GB Notification: Performance of matching and sorting (n=4): time 0.0001529/0.7989, allocations: 54.41 kB / 0.8661 GB, free: 176 kB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.7989, allocations: 104 kB / 0.8662 GB, free: 48 kB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.799, allocations: 98.78 kB / 0.8663 GB, free: 15.94 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.799, allocations: 25.7 kB / 0.8663 GB, free: 15.91 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.7991, allocations: 81.23 kB / 0.8664 GB, free: 15.83 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.7991, allocations: 23.72 kB / 0.8664 GB, free: 15.8 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.7991, allocations: 0.7188 kB / 0.8664 GB, free: 15.8 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7992, allocations: 319.3 kB / 0.8667 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.7993, allocations: 8 kB / 0.8667 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.7993, allocations: 32.14 kB / 0.8668 GB, free: 15.44 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.7994, allocations: 13.45 kB / 0.8668 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7994, allocations: 0 / 0.8668 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001057/0.7995, allocations: 57.59 kB / 0.8668 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.7995, allocations: 7.938 kB / 0.8668 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7995, allocations: 0.75 kB / 0.8668 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.7995, allocations: 0 / 0.8668 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.7996, allocations: 8.562 kB / 0.8669 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.7996, allocations: 0 / 0.8669 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.7997, allocations: 17.58 kB / 0.8669 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.7998, allocations: 1.312 kB / 0.8669 GB, free: 15.33 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: 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 8.991e-05/0.7998, allocations: 111.6 kB / 0.867 GB, free: 15.22 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.7999, allocations: 1.406 kB / 0.867 GB, free: 15.22 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.7999, allocations: 16.28 kB / 0.867 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7999, allocations: 0.6562 kB / 0.867 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7999, allocations: 3.984 kB / 0.867 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7999, allocations: 0.5312 kB / 0.867 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.8001, allocations: 143.8 kB / 0.8671 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8001, allocations: 4 kB / 0.8671 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.8001, allocations: 0 / 0.8671 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.8001, allocations: 4.656 kB / 0.8671 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.8001, allocations: 4 kB / 0.8671 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8001, allocations: 0.75 kB / 0.8671 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8001, allocations: 0 / 0.8671 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001172/0.8003, allocations: 82.33 kB / 0.8672 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002356/0.8005, allocations: 467.9 kB / 0.8677 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.8006, allocations: 85.09 kB / 0.8678 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.8006, allocations: 1.375 kB / 0.8678 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.8007, allocations: 17.2 kB / 0.8678 GB, free: 14.32 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.8008, allocations: 8.016 kB / 0.8678 GB, free: 14.31 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.8008, allocations: 8 kB / 0.8678 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.832e-05/0.8008, allocations: 79.28 kB / 0.8679 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008044/0.8017, allocations: 8 kB / 0.8679 GB, free: 14.22 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: 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.000163/0.8018, allocations: 104 kB / 0.868 GB, free: 14.11 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.802, allocations: 35.92 kB / 0.868 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.802, allocations: 0 / 0.868 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.802, allocations: 12 kB / 0.868 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.8021, allocations: 4 kB / 0.868 GB, free: 14.05 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.8024, allocations: 72.78 kB / 0.8681 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.8027, allocations: 0.6915 MB / 0.8688 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of SimCode: time 2.81e-07/0.8027, allocations: 0 / 0.8688 GB, free: 13.25 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)