Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.conf.json 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/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_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 4.0.0+maint.om/package.mo): time 0.003961/0.003961, allocations: 174.8 kB / 7.451 MB, free: 2.004 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.4 MB / 229.3 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 97.38 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.0114/0.0114, allocations: 1.57 MB / 332.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5243/0.5243, allocations: 90.04 MB / 473.6 MB, free: 7.258 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.2615/0.7858, allocations: 76.22 MB / 0.537 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.9308, allocations: 69.35 MB / 0.6047 GB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.445/2.376, allocations: 0.5712 GB / 1.176 GB, free: 113 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/2.376, allocations: 85.27 kB / 1.176 GB, free: 113 MB / 0.6042 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.7146/3.091, allocations: 240.3 MB / 1.411 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/3.091, allocations: 11.94 kB / 1.411 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/3.093, allocations: 222.9 kB / 1.411 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/3.093, allocations: 419.4 kB / 1.411 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/3.093, allocations: 23.98 kB / 1.411 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/3.094, allocations: 32 kB / 1.411 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008752/3.094, allocations: 389.8 kB / 1.412 GB, free: 123 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/3.095, allocations: 0.5038 MB / 1.412 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/3.095, allocations: 0 / 1.412 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/3.095, allocations: 0 / 1.412 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/3.095, allocations: 19.92 kB / 1.412 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/3.099, allocations: 2.426 MB / 1.415 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/3.099, allocations: 268.3 kB / 1.415 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/3.099, allocations: 234.6 kB / 1.415 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/3.1, allocations: 111.1 kB / 1.415 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004842/3.1, allocations: 378.1 kB / 1.416 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=58): time 2.805e-06/3.1, allocations: 0 / 1.416 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58): time 0.001889/3.102, allocations: 0.6787 MB / 1.416 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/3.102, allocations: 97.03 kB / 1.416 GB, free: 118 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/3.102, allocations: 297.2 kB / 1.417 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/3.102, allocations: 29.7 kB / 1.417 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/3.103, allocations: 204.9 kB / 1.417 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/3.103, allocations: 189.2 kB / 1.417 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/3.103, allocations: 0 / 1.417 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/3.103, allocations: 366.7 kB / 1.417 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/3.103, allocations: 177.3 kB / 1.417 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/3.104, allocations: 246.3 kB / 1.418 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/3.104, allocations: 282 kB / 1.418 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/3.104, allocations: 0 / 1.418 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001777/3.106, allocations: 0.7413 MB / 1.419 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/3.106, allocations: 4 kB / 1.419 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.644e-05/3.106, allocations: 31.88 kB / 1.419 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/3.107, allocations: 73.8 kB / 1.419 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/3.107, allocations: 139.8 kB / 1.419 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/3.109, allocations: 2.675 MB / 1.422 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/3.11, allocations: 71.55 kB / 1.422 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/3.11, allocations: 91.97 kB / 1.422 GB, free: 112.1 MB / 0.6042 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.0001782/3.11, allocations: 112.9 kB / 1.422 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/3.11, allocations: 51.34 kB / 1.422 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/3.114, allocations: 2.031 MB / 1.424 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.107e-05/3.114, allocations: 8 kB / 1.424 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.25e-05/3.115, allocations: 0 / 1.424 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.819e-05/3.115, allocations: 7.891 kB / 1.424 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/3.117, allocations: 1.548 MB / 1.425 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-05/3.117, allocations: 23.97 kB / 1.425 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/3.118, allocations: 127.9 kB / 1.426 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/3.118, allocations: 85.55 kB / 1.426 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/3.118, allocations: 51.84 kB / 1.426 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/3.12, allocations: 2.672 MB / 1.428 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/3.12, allocations: 0 / 1.428 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002292/3.122, allocations: 1.201 MB / 1.429 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003113/3.125, allocations: 1.912 MB / 1.431 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/3.126, allocations: 208.4 kB / 1.431 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/3.126, allocations: 7.984 kB / 1.432 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/3.127, allocations: 47.97 kB / 1.432 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/3.127, allocations: 83.78 kB / 1.432 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/3.127, allocations: 87.95 kB / 1.432 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003588/3.127, allocations: 239.2 kB / 1.432 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002942/3.13, allocations: 475.5 kB / 1.432 GB, free: 100.8 MB / 0.6042 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.003034/3.133, allocations: 1.425 MB / 1.434 GB, free: 99.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001728/3.135, allocations: 0.9265 MB / 1.435 GB, free: 98.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.135, allocations: 0 / 1.435 GB, free: 98.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009489/3.136, allocations: 0.6785 MB / 1.435 GB, free: 97.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/3.137, allocations: 144.2 kB / 1.435 GB, free: 97.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/3.14, allocations: 1.126 MB / 1.437 GB, free: 96.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/3.141, allocations: 1.092 MB / 1.438 GB, free: 95.35 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/3.141, allocations: 4 kB / 1.438 GB, free: 95.34 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat does not exist to compare? outputFormat=mat