Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.7477/0.7477, allocations: 141.8 MB / 149.1 MB, free: 0.9023 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.001116/0.001116, allocations: 181.8 kB / 181.9 MB, free: 13.08 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.405/1.405, allocations: 221.3 MB / 436 MB, free: 5.848 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.001019/0.001018, allocations: 105 kB / 0.507 GB, free: 19.11 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 280.7 kB / 0.5885 GB, free: 7 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4753/0.4771, allocations: 89.64 MB / 0.676 GB, free: 139.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.6495, allocations: 82.78 MB / 0.7568 GB, free: 89.03 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.7858, allocations: 108.5 MB / 0.8628 GB, free: 12.36 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.7861, allocations: 82.53 kB / 0.8629 GB, free: 12.29 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.008027/0.7942, allocations: 2.73 MB / 0.8655 GB, free: 9.504 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7942, allocations: 8 kB / 0.8656 GB, free: 9.496 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.7943, allocations: 7.906 kB / 0.8656 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.7945, allocations: 167.1 kB / 0.8657 GB, free: 9.285 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.7945, allocations: 0 / 0.8657 GB, free: 9.285 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.7945, allocations: 3.938 kB / 0.8657 GB, free: 9.281 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.812e-05/0.7946, allocations: 19.92 kB / 0.8657 GB, free: 9.262 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.7947, allocations: 64.27 kB / 0.8658 GB, free: 9.184 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7947, allocations: 3.906 kB / 0.8658 GB, free: 9.18 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.7948, allocations: 0 / 0.8658 GB, free: 9.18 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7948, allocations: 0 / 0.8658 GB, free: 9.18 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.7952, allocations: 237.5 kB / 0.866 GB, free: 8.91 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.7953, allocations: 38.52 kB / 0.8661 GB, free: 8.863 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.7953, allocations: 20.77 kB / 0.8661 GB, free: 8.84 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.7953, allocations: 4.078 kB / 0.8661 GB, free: 8.836 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.81e-05/0.7954, allocations: 55.41 kB / 0.8661 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.7954, allocations: 0 / 0.8661 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0001702/0.7956, allocations: 53.67 kB / 0.8662 GB, free: 8.711 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.7956, allocations: 106.8 kB / 0.8663 GB, free: 8.582 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.7957, allocations: 101 kB / 0.8664 GB, free: 8.477 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.7958, allocations: 25.7 kB / 0.8664 GB, free: 8.445 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.7958, allocations: 84.08 kB / 0.8665 GB, free: 8.359 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.7958, allocations: 15.8 kB / 0.8665 GB, free: 8.344 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.7958, allocations: 0 / 0.8665 GB, free: 8.344 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.796, allocations: 314.8 kB / 0.8668 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.796, allocations: 8 kB / 0.8668 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.7961, allocations: 30.56 kB / 0.8669 GB, free: 7.98 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.7961, allocations: 24.03 kB / 0.8669 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7961, allocations: 0 / 0.8669 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.7962, allocations: 53.59 kB / 0.8669 GB, free: 7.898 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.7962, allocations: 4 kB / 0.8669 GB, free: 7.895 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7962, allocations: 0 / 0.8669 GB, free: 7.895 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.7963, allocations: 0 / 0.8669 GB, free: 7.895 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.7963, allocations: 15.94 kB / 0.8669 GB, free: 7.879 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.7964, allocations: 3.984 kB / 0.867 GB, free: 7.875 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.7965, allocations: 16.42 kB / 0.867 GB, free: 7.859 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.7965, allocations: 0 / 0.867 GB, free: 7.859 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.381e-05/0.7966, allocations: 108.9 kB / 0.8671 GB, free: 7.746 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.7966, allocations: 0 / 0.8671 GB, free: 7.746 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.7966, allocations: 15.67 kB / 0.8671 GB, free: 7.73 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7966, allocations: 3.938 kB / 0.8671 GB, free: 7.727 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7967, allocations: 0 / 0.8671 GB, free: 7.727 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.7967, allocations: 0 / 0.8671 GB, free: 7.727 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.7968, allocations: 162 kB / 0.8672 GB, free: 7.531 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7968, allocations: 0 / 0.8672 GB, free: 7.531 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.7968, allocations: 0 / 0.8672 GB, free: 7.531 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.7968, allocations: 4 kB / 0.8672 GB, free: 7.527 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.7968, allocations: 0 / 0.8672 GB, free: 7.527 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.7969, allocations: 0 / 0.8672 GB, free: 7.527 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7969, allocations: 3.984 kB / 0.8673 GB, free: 7.523 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001183/0.797, allocations: 80.97 kB / 0.8673 GB, free: 7.426 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000261/0.7973, allocations: 461.4 kB / 0.8678 GB, free: 6.953 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.7973, allocations: 89.09 kB / 0.8679 GB, free: 6.848 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.7974, allocations: 0 / 0.8679 GB, free: 6.848 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.7975, allocations: 15.89 kB / 0.8679 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.7975, allocations: 3.984 kB / 0.8679 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.7976, allocations: 8 kB / 0.8679 GB, free: 6.82 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.318e-05/0.7976, allocations: 83.28 kB / 0.868 GB, free: 6.738 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008367/0.7985, allocations: 8 kB / 0.868 GB, free: 6.73 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.0001467/0.7986, allocations: 103.2 kB / 0.8681 GB, free: 6.617 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.7987, allocations: 31.92 kB / 0.8681 GB, free: 6.586 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7988, allocations: 0 / 0.8681 GB, free: 6.586 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.7988, allocations: 12 kB / 0.8681 GB, free: 6.574 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.7989, allocations: 6.641 kB / 0.8681 GB, free: 6.57 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.7992, allocations: 75.91 kB / 0.8682 GB, free: 6.473 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.7996, allocations: 0.6876 MB / 0.8689 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of SimCode: time 3.71e-07/0.7996, allocations: 3.938 kB / 0.8689 GB, free: 5.758 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)