Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",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.008238/0.008238, allocations: 184.3 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.663/2.663, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001629/0.001629, allocations: 94.33 kB / 280.1 MB, free: 1.238 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.02345/0.02345, allocations: 1.561 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 1.15/1.15, allocations: 90.04 MB / 473.6 MB, free: 7.266 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.5932/1.743, allocations: 76.21 MB / 0.537 GB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/2.087, allocations: 69.35 MB / 0.6047 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.219/4.306, allocations: 437 MB / 1.031 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004391/4.306, allocations: 84.06 kB / 1.032 GB, free: 10.53 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 1.425/5.732, allocations: 209.7 MB / 1.236 GB, free: 74.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.997e-05/5.732, allocations: 8 kB / 1.236 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006231/5.732, allocations: 94.88 kB / 1.236 GB, free: 74.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/5.734, allocations: 0.51 MB / 1.237 GB, free: 74.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/5.734, allocations: 27.94 kB / 1.237 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/5.735, allocations: 47.91 kB / 1.237 GB, free: 74.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001503/5.736, allocations: 0.5584 MB / 1.238 GB, free: 73.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/5.737, allocations: 0.5356 MB / 1.238 GB, free: 73.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/5.738, allocations: 0 / 1.238 GB, free: 73.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/5.738, allocations: 0 / 1.238 GB, free: 73.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/5.738, allocations: 20 kB / 1.238 GB, free: 73.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00539/5.743, allocations: 3.048 MB / 1.241 GB, free: 69.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/5.745, allocations: 0.5486 MB / 1.242 GB, free: 69.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/5.745, allocations: 266.2 kB / 1.242 GB, free: 68.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009673/5.746, allocations: 0.9978 MB / 1.243 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/5.746, allocations: 35.06 kB / 1.243 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 6.532e-06/5.746, allocations: 0 / 1.243 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.006096/5.752, allocations: 1.377 MB / 1.244 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/5.752, allocations: 55.91 kB / 1.244 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/5.753, allocations: 333.3 kB / 1.245 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/5.753, allocations: 25.7 kB / 1.245 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/5.753, allocations: 268.2 kB / 1.245 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/5.754, allocations: 197 kB / 1.245 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/5.754, allocations: 0 / 1.245 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001781/5.754, allocations: 374.7 kB / 1.245 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/5.754, allocations: 189.1 kB / 1.246 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/5.755, allocations: 188.2 kB / 1.246 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/5.756, allocations: 210.9 kB / 1.246 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/5.756, allocations: 0 / 1.246 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00238/5.758, allocations: 0.6321 MB / 1.247 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/5.758, allocations: 11.91 kB / 1.247 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/5.758, allocations: 4 kB / 1.247 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/5.759, allocations: 96.78 kB / 1.247 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/5.76, allocations: 107.9 kB / 1.247 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/5.762, allocations: 1.82 MB / 1.249 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/5.763, allocations: 39.88 kB / 1.249 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/5.763, allocations: 19.98 kB / 1.249 GB, free: 61.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002069/5.764, allocations: 112.9 kB / 1.249 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/5.764, allocations: 59.25 kB / 1.249 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/5.767, allocations: 0.8145 MB / 1.25 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/5.767, allocations: 12 kB / 1.25 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/5.767, allocations: 0 / 1.25 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/5.767, allocations: 3.984 kB / 1.25 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/5.772, allocations: 1.502 MB / 1.251 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/5.772, allocations: 0 / 1.251 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/5.772, allocations: 107.8 kB / 1.251 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006262/5.773, allocations: 116.8 kB / 1.251 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/5.773, allocations: 19.98 kB / 1.251 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/5.776, allocations: 1.839 MB / 1.253 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/5.776, allocations: 0 / 1.253 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003211/5.779, allocations: 1.079 MB / 1.254 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003943/5.783, allocations: 1.814 MB / 1.256 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/5.783, allocations: 128.3 kB / 1.256 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/5.784, allocations: 4 kB / 1.256 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/5.784, allocations: 36.03 kB / 1.256 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/5.784, allocations: 44.52 kB / 1.256 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/5.784, allocations: 19.98 kB / 1.256 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004946/5.785, allocations: 267 kB / 1.256 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003282/5.788, allocations: 491.6 kB / 1.257 GB, free: 52.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (splitterT2_1.splitterN.inlet.m_flow,splitterT2_1.splitterN.outlets[1].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/5.79, allocations: 0.7965 MB / 1.258 GB, free: 52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001829/5.792, allocations: 0.6581 MB / 1.258 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/5.792, allocations: 4 kB / 1.258 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/5.793, allocations: 477.5 kB / 1.259 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/5.795, allocations: 161.5 kB / 1.259 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/5.798, allocations: 0.9677 MB / 1.26 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008592/5.799, allocations: 1.027 MB / 1.261 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of SimCode: time 2.284e-06/5.799, allocations: 0 / 1.261 GB, free: 48.63 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1)