Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) 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) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay",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/Complex 3.2.3+maint.om/package.mo): time 0.002335/0.002335, allocations: 179.6 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007625/0.0007625, allocations: 96.28 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5078/0.5078, allocations: 90.34 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1176/0.6254, allocations: 72.39 MB / 471.7 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.8953, allocations: 66.26 MB / 0.5254 GB, free: 28.79 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.968, allocations: 0.7494 GB / 1.275 GB, free: 95.25 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.968, allocations: 72.59 kB / 1.275 GB, free: 95.22 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.6947/2.663, allocations: 286.6 MB / 1.555 GB, free: 59.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/2.663, allocations: 15.94 kB / 1.555 GB, free: 59.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009277/2.664, allocations: 155 kB / 1.555 GB, free: 58.87 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/2.664, allocations: 420.7 kB / 1.555 GB, free: 58.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/2.665, allocations: 16 kB / 1.555 GB, free: 58.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/2.665, allocations: 32 kB / 1.555 GB, free: 58.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005741/2.665, allocations: 377.8 kB / 1.556 GB, free: 58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/2.666, allocations: 476 kB / 1.556 GB, free: 57.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/2.666, allocations: 4 kB / 1.556 GB, free: 57.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/2.666, allocations: 7.984 kB / 1.556 GB, free: 57.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/2.666, allocations: 19.91 kB / 1.556 GB, free: 57.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/2.668, allocations: 2.363 MB / 1.559 GB, free: 54.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/2.669, allocations: 264.3 kB / 1.559 GB, free: 54.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/2.669, allocations: 222.6 kB / 1.559 GB, free: 54.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/2.669, allocations: 96.86 kB / 1.559 GB, free: 54.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/2.67, allocations: 346.3 kB / 1.559 GB, free: 53.96 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 1.693e-06/2.67, allocations: 0 / 1.559 GB, free: 53.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.001672/2.671, allocations: 0.7057 MB / 1.56 GB, free: 53.24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/2.671, allocations: 89.11 kB / 1.56 GB, free: 53.13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/2.672, allocations: 305.1 kB / 1.56 GB, free: 52.83 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/2.672, allocations: 29.7 kB / 1.561 GB, free: 52.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/2.672, allocations: 197 kB / 1.561 GB, free: 52.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/2.672, allocations: 193.2 kB / 1.561 GB, free: 52.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/2.672, allocations: 0 / 1.561 GB, free: 52.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/2.672, allocations: 362.8 kB / 1.561 GB, free: 52.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/2.672, allocations: 169.3 kB / 1.561 GB, free: 51.88 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/2.672, allocations: 234.4 kB / 1.562 GB, free: 51.64 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/2.673, allocations: 333.9 kB / 1.562 GB, free: 51.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/2.673, allocations: 4 kB / 1.562 GB, free: 51.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001548/2.675, allocations: 0.7569 MB / 1.563 GB, free: 50.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/2.675, allocations: 7.938 kB / 1.563 GB, free: 50.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/2.675, allocations: 11.98 kB / 1.563 GB, free: 50.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/2.675, allocations: 81.78 kB / 1.563 GB, free: 50.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/2.676, allocations: 139.8 kB / 1.563 GB, free: 50.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/2.677, allocations: 2.672 MB / 1.566 GB, free: 47.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/2.678, allocations: 67.58 kB / 1.566 GB, free: 47.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/2.678, allocations: 75.97 kB / 1.566 GB, free: 47.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$whenCondition1,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/2.678, allocations: 111.4 kB / 1.566 GB, free: 47.13 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/2.678, allocations: 55.34 kB / 1.566 GB, free: 47.08 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/2.681, allocations: 1.116 MB / 1.567 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/2.681, allocations: 8 kB / 1.567 GB, free: 45.94 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.681, allocations: 3.984 kB / 1.567 GB, free: 45.94 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/2.681, allocations: 4 kB / 1.567 GB, free: 45.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/2.683, allocations: 1.539 MB / 1.568 GB, free: 44.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/2.683, allocations: 15.98 kB / 1.568 GB, free: 44.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/2.684, allocations: 127.9 kB / 1.569 GB, free: 44.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/2.684, allocations: 77.64 kB / 1.569 GB, free: 44.11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/2.684, allocations: 35.97 kB / 1.569 GB, free: 44.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/2.685, allocations: 2.676 MB / 1.571 GB, free: 41.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/2.685, allocations: 0 / 1.571 GB, free: 41.17 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001928/2.687, allocations: 1.224 MB / 1.572 GB, free: 39.9 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002602/2.69, allocations: 1.932 MB / 1.574 GB, free: 37.92 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/2.69, allocations: 204.2 kB / 1.575 GB, free: 37.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/2.69, allocations: 0 / 1.575 GB, free: 37.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/2.691, allocations: 47.88 kB / 1.575 GB, free: 37.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/2.691, allocations: 71.89 kB / 1.575 GB, free: 37.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.921e-05/2.691, allocations: 75.97 kB / 1.575 GB, free: 37.51 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001689/2.691, allocations: 231.2 kB / 1.575 GB, free: 37.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002295/2.694, allocations: 0.7177 MB / 1.576 GB, free: 36.57 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002184/2.696, allocations: 1.814 MB / 1.577 GB, free: 34.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001087/2.697, allocations: 0.9033 MB / 1.578 GB, free: 33.78 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/2.697, allocations: 4.062 kB / 1.578 GB, free: 33.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006788/2.698, allocations: 0.6625 MB / 1.579 GB, free: 33.05 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/2.698, allocations: 147.2 kB / 1.579 GB, free: 32.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/2.7, allocations: 1.065 MB / 1.58 GB, free: 31.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008003/2.701, allocations: 1.049 MB / 1.581 GB, free: 30.74 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/2.701, allocations: 0 / 1.581 GB, free: 30.74 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay_res.mat does not exist to compare? outputFormat=mat