Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.795/1.795, allocations: 390.4 MB / 397.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009625/0.0009629, allocations: 181.7 kB / 490.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.107/1.107, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008935, allocations: 92.38 kB / 0.9264 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2408/0.2417, allocations: 149.2 MB / 1.072 GB, free: 15.55 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.7715, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.9149, allocations: 149.9 MB / 1.358 GB, free: 41.71 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.9152, allocations: 79.94 kB / 1.358 GB, free: 41.64 MB / 0.8855 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.006309/0.9215, allocations: 2.728 MB / 1.361 GB, free: 38.89 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.9215, allocations: 12.72 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.9216, allocations: 4.906 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.301e-05/0.9217, allocations: 169.6 kB / 1.361 GB, free: 38.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.9217, allocations: 0 / 1.361 GB, free: 38.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.9217, allocations: 5.078 kB / 1.361 GB, free: 38.67 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.123e-05/0.9218, allocations: 15.94 kB / 1.361 GB, free: 38.65 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.122e-05/0.9219, allocations: 65.27 kB / 1.361 GB, free: 38.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.9219, allocations: 4.594 kB / 1.361 GB, free: 38.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.9219, allocations: 3.984 kB / 1.361 GB, free: 38.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.9219, allocations: 4.625 kB / 1.361 GB, free: 38.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.9222, allocations: 230.9 kB / 1.361 GB, free: 38.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.9222, allocations: 43.09 kB / 1.361 GB, free: 38.25 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.9223, allocations: 21.33 kB / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.9223, allocations: 1.531 kB / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.9223, allocations: 55.5 kB / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.9224, allocations: 1.531 kB / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001398/0.9225, allocations: 49.69 kB / 1.361 GB, free: 38.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.9225, allocations: 102.8 kB / 1.362 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.413e-05/0.9226, allocations: 97.75 kB / 1.362 GB, free: 37.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.9226, allocations: 29.69 kB / 1.362 GB, free: 37.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.964e-05/0.9226, allocations: 85.17 kB / 1.362 GB, free: 37.76 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.9227, allocations: 23.16 kB / 1.362 GB, free: 37.74 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.9227, allocations: 0.6562 kB / 1.362 GB, free: 37.74 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.9227, allocations: 311.4 kB / 1.362 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.9227, allocations: 8.688 kB / 1.362 GB, free: 37.42 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.9228, allocations: 35.47 kB / 1.362 GB, free: 37.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.463e-05/0.9228, allocations: 9.781 kB / 1.362 GB, free: 37.37 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.9228, allocations: 0 / 1.362 GB, free: 37.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.704e-05/0.9229, allocations: 57.59 kB / 1.362 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.9229, allocations: 4.844 kB / 1.362 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.9229, allocations: 0 / 1.362 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.9229, allocations: 6.312 kB / 1.362 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.923, allocations: 4 kB / 1.362 GB, free: 37.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.923, allocations: 8.578 kB / 1.362 GB, free: 37.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.9231, allocations: 9 kB / 1.362 GB, free: 37.28 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.9231, allocations: 3.562 kB / 1.362 GB, free: 37.28 MB / 0.8855 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 5.139e-05/0.9232, allocations: 115.4 kB / 1.362 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.9232, allocations: 3.984 kB / 1.362 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.9232, allocations: 11.72 kB / 1.362 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.9232, allocations: 0 / 1.362 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.9232, allocations: 0 / 1.362 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9232, allocations: 0 / 1.362 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.129e-05/0.9233, allocations: 146.1 kB / 1.362 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9233, allocations: 1.031 kB / 1.362 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.9233, allocations: 5.5 kB / 1.363 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9234, allocations: 4 kB / 1.363 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.9234, allocations: 4.484 kB / 1.363 GB, free: 36.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9234, allocations: 0.5 kB / 1.363 GB, free: 36.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9234, allocations: 0.5 kB / 1.363 GB, free: 36.95 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.109e-05/0.9235, allocations: 82.09 kB / 1.363 GB, free: 36.86 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001048/0.9236, allocations: 468.3 kB / 1.363 GB, free: 36.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.9236, allocations: 81.11 kB / 1.363 GB, free: 36.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.9237, allocations: 7.984 kB / 1.363 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.9238, allocations: 13.31 kB / 1.363 GB, free: 36.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.9238, allocations: 5.016 kB / 1.363 GB, free: 36.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.9238, allocations: 5.625 kB / 1.363 GB, free: 36.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.178e-05/0.9238, allocations: 83.97 kB / 1.363 GB, free: 36.17 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007181/0.9246, allocations: 12 kB / 1.363 GB, free: 36.16 MB / 0.8855 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 9.76e-05/0.9247, allocations: 108 kB / 1.363 GB, free: 36.05 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.894e-05/0.9247, allocations: 29.06 kB / 1.363 GB, free: 36.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.9248, allocations: 0 / 1.363 GB, free: 36.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.9248, allocations: 12 kB / 1.363 GB, free: 36.01 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.638e-05/0.9249, allocations: 4.5 kB / 1.363 GB, free: 36.01 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.9251, allocations: 72.42 kB / 1.363 GB, free: 35.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.9252, allocations: 0.6926 MB / 1.364 GB, free: 35.2 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.9252, allocations: 0 / 1.364 GB, free: 35.2 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat does not exist to compare? outputFormat=mat