Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.003176/0.003176, allocations: 185.6 kB / 7.459 MB, free: 2.516 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.968/1.968, allocations: 205.2 MB / 213 MB, free: 13.85 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.0008833/0.0008833, allocations: 105.4 kB / 261.1 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.036/1.036, allocations: 90.35 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1554/1.191, allocations: 72.39 MB / 471.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/1.68, allocations: 66.26 MB / 0.5254 GB, free: 28.83 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.115/3.795, allocations: 0.7544 GB / 1.28 GB, free: 90.04 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/3.795, allocations: 87.31 kB / 1.28 GB, free: 90 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 1.126/4.921, allocations: 300.2 MB / 1.573 GB, free: 39.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/4.921, allocations: 8.5 kB / 1.573 GB, free: 39.97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/4.923, allocations: 186.7 kB / 1.573 GB, free: 39.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/4.925, allocations: 484.4 kB / 1.574 GB, free: 39.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/4.925, allocations: 55.02 kB / 1.574 GB, free: 39.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/4.925, allocations: 39.98 kB / 1.574 GB, free: 39.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001833/4.927, allocations: 0.5063 MB / 1.574 GB, free: 38.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/4.929, allocations: 0.6225 MB / 1.575 GB, free: 38.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/4.929, allocations: 0 / 1.575 GB, free: 38.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/4.929, allocations: 4 kB / 1.575 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/4.929, allocations: 16 kB / 1.575 GB, free: 38.01 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/4.937, allocations: 3.479 MB / 1.578 GB, free: 34.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/4.938, allocations: 480.8 kB / 1.579 GB, free: 33.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/4.938, allocations: 302.4 kB / 1.579 GB, free: 33.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/4.94, allocations: 421.1 kB / 1.579 GB, free: 32.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000891/4.94, allocations: 456.6 kB / 1.58 GB, free: 32.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=76): time 5.139e-06/4.941, allocations: 0 / 1.58 GB, free: 32.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76): time 0.003829/4.944, allocations: 0.9087 MB / 1.581 GB, free: 31.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/4.944, allocations: 90.5 kB / 1.581 GB, free: 31.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/4.945, allocations: 365.3 kB / 1.581 GB, free: 31.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/4.945, allocations: 29.7 kB / 1.581 GB, free: 31.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/4.946, allocations: 240.4 kB / 1.581 GB, free: 30.81 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/4.946, allocations: 244.3 kB / 1.582 GB, free: 30.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/4.946, allocations: 8 kB / 1.582 GB, free: 30.56 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000156/4.946, allocations: 370.8 kB / 1.582 GB, free: 30.19 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/4.947, allocations: 229.5 kB / 1.582 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/4.947, allocations: 326.3 kB / 1.583 GB, free: 29.62 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/4.95, allocations: 445.5 kB / 1.583 GB, free: 29.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/4.95, allocations: 0 / 1.583 GB, free: 29.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003627/4.953, allocations: 0.9788 MB / 1.584 GB, free: 28.19 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/4.953, allocations: 12.03 kB / 1.584 GB, free: 28.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.783e-05/4.953, allocations: 12 kB / 1.584 GB, free: 28.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/4.954, allocations: 73.66 kB / 1.584 GB, free: 28.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/4.955, allocations: 215.7 kB / 1.584 GB, free: 27.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/4.958, allocations: 2.68 MB / 1.587 GB, free: 24.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/4.959, allocations: 119.4 kB / 1.587 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/4.959, allocations: 91.97 kB / 1.587 GB, free: 24.77 MB / 0.5886 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.0003366/4.96, allocations: 120.8 kB / 1.587 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/4.96, allocations: 71.23 kB / 1.587 GB, free: 24.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006986/4.967, allocations: 1.477 MB / 1.589 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/4.967, allocations: 8 kB / 1.589 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/4.967, allocations: 4 kB / 1.589 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/4.967, allocations: 7.984 kB / 1.589 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/4.973, allocations: 1.939 MB / 1.591 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/4.973, allocations: 11.98 kB / 1.591 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/4.975, allocations: 195.9 kB / 1.591 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/4.975, allocations: 89.56 kB / 1.591 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/4.975, allocations: 35.97 kB / 1.591 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/4.978, allocations: 2.691 MB / 1.594 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/4.978, allocations: 3.938 kB / 1.594 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004273/4.982, allocations: 1.534 MB / 1.595 GB, free: 16.23 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004997/4.987, allocations: 2.355 MB / 1.597 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/4.988, allocations: 236 kB / 1.598 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/4.988, allocations: 4 kB / 1.598 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/4.989, allocations: 87.8 kB / 1.598 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/4.989, allocations: 99.77 kB / 1.598 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/4.989, allocations: 91.97 kB / 1.598 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0003865/4.99, allocations: 279 kB / 1.598 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004536/4.994, allocations: 0.8192 MB / 1.599 GB, free: 12.21 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.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.005908/5, allocations: 1.894 MB / 1.601 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002817/5.003, allocations: 1.064 MB / 1.602 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/5.003, allocations: 3.938 kB / 1.602 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/5.005, allocations: 0.7678 MB / 1.603 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/5.007, allocations: 178.2 kB / 1.603 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005395/5.012, allocations: 1.306 MB / 1.604 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/5.014, allocations: 1.165 MB / 1.605 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of SimCode: time 2.575e-06/5.014, allocations: 0 / 1.605 GB, free: 5.629 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat does not exist to compare? outputFormat=mat