Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.7372/0.7372, allocations: 141.8 MB / 149.1 MB, free: 2.348 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.001161/0.001161, allocations: 183.7 kB / 181.9 MB, free: 14.29 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.486/1.486, allocations: 221.3 MB / 436 MB, free: 7.355 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.0009296/0.0009297, allocations: 97.69 kB / 0.507 GB, free: 24.45 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 266.2 kB / 0.5884 GB, free: 10.54 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2031/0.2053, allocations: 89.66 MB / 0.676 GB, free: 0.7969 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.65, allocations: 82.76 MB / 0.7568 GB, free: 111.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.7812, allocations: 108.5 MB / 0.8628 GB, free: 2.43 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.7816, allocations: 88.64 kB / 0.8629 GB, free: 2.348 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.006983/0.7886, allocations: 2.725 MB / 0.8655 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.7886, allocations: 12.66 kB / 0.8656 GB, free: 15.57 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.7887, allocations: 3.906 kB / 0.8656 GB, free: 15.57 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.7889, allocations: 172.4 kB / 0.8657 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.7889, allocations: 3.984 kB / 0.8657 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.789, allocations: 4 kB / 0.8657 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.766e-05/0.789, allocations: 8.594 kB / 0.8657 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.7892, allocations: 61.17 kB / 0.8658 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7892, allocations: 4.531 kB / 0.8658 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.7892, allocations: 4.484 kB / 0.8658 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.7892, allocations: 0 / 0.8658 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.7896, allocations: 239.2 kB / 0.866 GB, free: 15 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.7897, allocations: 35.09 kB / 0.8661 GB, free: 14.95 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.975e-05/0.7898, allocations: 22.55 kB / 0.8661 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.7898, allocations: 0 / 0.8661 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.574e-05/0.7899, allocations: 56.09 kB / 0.8661 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.7899, allocations: 0.7812 kB / 0.8661 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0001931/0.7901, allocations: 54.94 kB / 0.8662 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.7902, allocations: 103.5 kB / 0.8663 GB, free: 14.68 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.7903, allocations: 97.56 kB / 0.8664 GB, free: 14.58 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.7903, allocations: 33.69 kB / 0.8664 GB, free: 14.54 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.7904, allocations: 81.17 kB / 0.8665 GB, free: 14.46 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.7904, allocations: 15.75 kB / 0.8665 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.7904, allocations: 0.6562 kB / 0.8665 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7906, allocations: 315.4 kB / 0.8668 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.7906, allocations: 8.688 kB / 0.8668 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.7907, allocations: 31.06 kB / 0.8668 GB, free: 14.08 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.7907, allocations: 13.56 kB / 0.8669 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7907, allocations: 0 / 0.8669 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001052/0.7908, allocations: 57.97 kB / 0.8669 GB, free: 14 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7908, allocations: 4.781 kB / 0.8669 GB, free: 14 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7908, allocations: 8.5 kB / 0.8669 GB, free: 13.99 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.7909, allocations: 4.719 kB / 0.8669 GB, free: 13.99 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.7909, allocations: 8 kB / 0.8669 GB, free: 13.98 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.791, allocations: 4.703 kB / 0.8669 GB, free: 13.98 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.7911, allocations: 9.219 kB / 0.867 GB, free: 13.97 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.7911, allocations: 0.8438 kB / 0.867 GB, free: 13.97 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 9.366e-05/0.7912, allocations: 110.7 kB / 0.8671 GB, free: 13.86 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.7912, allocations: 7.984 kB / 0.8671 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.7913, allocations: 7.719 kB / 0.8671 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7913, allocations: 0 / 0.8671 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7913, allocations: 1.5 kB / 0.8671 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7913, allocations: 0 / 0.8671 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.7914, allocations: 154.7 kB / 0.8672 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7914, allocations: 0 / 0.8672 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.7914, allocations: 5.344 kB / 0.8672 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7914, allocations: 0 / 0.8672 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.7915, allocations: 3.984 kB / 0.8672 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7915, allocations: 1.281 kB / 0.8672 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7915, allocations: 1.5 kB / 0.8672 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000116/0.7916, allocations: 82.5 kB / 0.8673 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002643/0.7919, allocations: 466.4 kB / 0.8678 GB, free: 13.07 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.7919, allocations: 89.09 kB / 0.8678 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.792, allocations: 1.25 kB / 0.8678 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7921, allocations: 13.25 kB / 0.8679 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.7921, allocations: 3.984 kB / 0.8679 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-06/0.7921, allocations: 4 kB / 0.8679 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.745e-05/0.7922, allocations: 84.03 kB / 0.8679 GB, free: 12.87 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007986/0.793, allocations: 12 kB / 0.868 GB, free: 12.86 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.0001649/0.7932, allocations: 111.9 kB / 0.8681 GB, free: 12.73 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.7933, allocations: 24.19 kB / 0.8681 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7933, allocations: 0 / 0.8681 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.7934, allocations: 12 kB / 0.8681 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.7935, allocations: 5.031 kB / 0.8681 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.7938, allocations: 79.78 kB / 0.8682 GB, free: 12.59 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.7941, allocations: 0.6876 MB / 0.8689 GB, free: 11.88 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.7941, allocations: 0 / 0.8689 GB, free: 11.88 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)