Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.003457/0.003457, allocations: 187 kB / 7.46 MB, free: 2.52 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.82/1.82, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.001249/0.001249, allocations: 105.5 kB / 280.1 MB, free: 1.234 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.009907/0.009906, allocations: 1.564 MB / 332.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9013/0.9013, allocations: 90.05 MB / 473.6 MB, free: 7.242 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.2606/1.162, allocations: 76.21 MB / 0.537 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/1.492, allocations: 69.36 MB / 0.6047 GB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.166/3.657, allocations: 0.5763 GB / 1.181 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/3.658, allocations: 87.06 kB / 1.181 GB, free: 107.1 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 1.017/4.674, allocations: 245.7 MB / 1.421 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/4.674, allocations: 8 kB / 1.421 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/4.677, allocations: 250.7 kB / 1.421 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/4.678, allocations: 492.8 kB / 1.422 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/4.678, allocations: 55.02 kB / 1.422 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/4.678, allocations: 47.91 kB / 1.422 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/4.68, allocations: 0.522 MB / 1.422 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/4.681, allocations: 0.6539 MB / 1.423 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/4.681, allocations: 0 / 1.423 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/4.681, allocations: 0 / 1.423 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/4.681, allocations: 19.94 kB / 1.423 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/4.687, allocations: 3.532 MB / 1.426 GB, free: 107 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/4.688, allocations: 490.1 kB / 1.427 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/4.689, allocations: 306.5 kB / 1.427 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008546/4.689, allocations: 431.6 kB / 1.428 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007084/4.69, allocations: 480.8 kB / 1.428 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 4.258e-06/4.69, allocations: 0 / 1.428 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.003008/4.693, allocations: 0.9207 MB / 1.429 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/4.693, allocations: 90.5 kB / 1.429 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/4.694, allocations: 357.3 kB / 1.429 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/4.694, allocations: 29.69 kB / 1.429 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/4.694, allocations: 232.5 kB / 1.43 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/4.694, allocations: 248.3 kB / 1.43 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/4.695, allocations: 0 / 1.43 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001436/4.695, allocations: 378.7 kB / 1.43 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/4.695, allocations: 245.5 kB / 1.43 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/4.696, allocations: 330.3 kB / 1.431 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/4.697, allocations: 429.4 kB / 1.431 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/4.697, allocations: 0 / 1.431 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002575/4.7, allocations: 0.9865 MB / 1.432 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/4.7, allocations: 4 kB / 1.432 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.166e-05/4.7, allocations: 24.2 kB / 1.432 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/4.7, allocations: 89.58 kB / 1.432 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/4.701, allocations: 215.7 kB / 1.432 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/4.703, allocations: 2.683 MB / 1.435 GB, free: 97.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/4.704, allocations: 123.4 kB / 1.435 GB, free: 97.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/4.704, allocations: 108 kB / 1.435 GB, free: 97.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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.0003048/4.705, allocations: 121.7 kB / 1.435 GB, free: 97.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/4.705, allocations: 67.16 kB / 1.436 GB, free: 97.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00634/4.711, allocations: 2.816 MB / 1.438 GB, free: 94.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/4.711, allocations: 8 kB / 1.438 GB, free: 94.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/4.711, allocations: 8 kB / 1.438 GB, free: 94.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/4.711, allocations: 3.984 kB / 1.438 GB, free: 94.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/4.716, allocations: 1.967 MB / 1.44 GB, free: 92.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.754e-05/4.717, allocations: 23.97 kB / 1.44 GB, free: 92.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008575/4.717, allocations: 207.8 kB / 1.44 GB, free: 92.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003369/4.718, allocations: 77.56 kB / 1.44 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/4.718, allocations: 55.95 kB / 1.441 GB, free: 92.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/4.72, allocations: 2.686 MB / 1.443 GB, free: 89.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/4.72, allocations: 4.281 kB / 1.443 GB, free: 89.12 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003489/4.724, allocations: 1.545 MB / 1.445 GB, free: 87.52 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004302/4.728, allocations: 2.37 MB / 1.447 GB, free: 85.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/4.729, allocations: 248 kB / 1.447 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/4.729, allocations: 7.969 kB / 1.447 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/4.73, allocations: 87.78 kB / 1.447 GB, free: 84.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/4.73, allocations: 103.8 kB / 1.447 GB, free: 84.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/4.73, allocations: 112 kB / 1.448 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003924/4.731, allocations: 279 kB / 1.448 GB, free: 84.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002979/4.734, allocations: 0.5267 MB / 1.448 GB, free: 83.74 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.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.002751/4.737, allocations: 1.443 MB / 1.45 GB, free: 82.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001915/4.739, allocations: 1.09 MB / 1.451 GB, free: 81.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/4.739, allocations: 4.438 kB / 1.451 GB, free: 81.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/4.74, allocations: 0.796 MB / 1.452 GB, free: 80.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/4.741, allocations: 186.6 kB / 1.452 GB, free: 80.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/4.745, allocations: 1.392 MB / 1.453 GB, free: 78.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/4.746, allocations: 1.235 MB / 1.454 GB, free: 77.58 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/4.746, allocations: 0 / 1.454 GB, free: 77.58 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat does not exist to compare? outputFormat=mat