Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.004782/0.004782, allocations: 185.1 kB / 7.458 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.711/1.711, allocations: 221.4 MB / 229.3 MB, free: 3.227 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.001135/0.001135, allocations: 99.5 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.011/0.011, 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 1.288/1.288, allocations: 90.04 MB / 473.6 MB, free: 7.254 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.4005/1.689, allocations: 76.21 MB / 0.537 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/2.068, allocations: 69.36 MB / 0.6047 GB, free: 8.777 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.57/3.637, allocations: 441.3 MB / 1.036 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/3.638, allocations: 89.86 kB / 1.036 GB, free: 4.055 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 1.137/4.775, allocations: 254.6 MB / 1.284 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/4.775, allocations: 12 kB / 1.284 GB, free: 20.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/4.776, allocations: 150.2 kB / 1.285 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/4.778, allocations: 0.7359 MB / 1.285 GB, free: 19.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/4.778, allocations: 39.91 kB / 1.285 GB, free: 19.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000429/4.778, allocations: 72 kB / 1.285 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003097/4.781, allocations: 1.563 MB / 1.287 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/4.784, allocations: 1.21 MB / 1.288 GB, free: 16.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/4.784, allocations: 3.938 kB / 1.288 GB, free: 16.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/4.784, allocations: 7.922 kB / 1.288 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/4.784, allocations: 40 kB / 1.288 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007828/4.792, allocations: 6.219 MB / 1.294 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/4.794, allocations: 0.8057 MB / 1.295 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009211/4.795, allocations: 0.6922 MB / 1.296 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00551/4.8, allocations: 3.622 MB / 1.299 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/4.801, allocations: 0.7331 MB / 1.3 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 4.649e-06/4.801, allocations: 0 / 1.3 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.3991/5.201, allocations: 4.318 MB / 1.304 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/5.201, allocations: 74.25 kB / 1.304 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/5.201, allocations: 419.7 kB / 1.305 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002083/5.202, allocations: 29.67 kB / 1.305 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/5.202, allocations: 350.2 kB / 1.305 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/5.202, allocations: 451.4 kB / 1.305 GB, free: 171 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/5.202, allocations: 0 / 1.305 GB, free: 171 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001395/5.202, allocations: 397.6 kB / 1.306 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/5.203, allocations: 0.528 MB / 1.306 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007939/5.204, allocations: 0.6201 MB / 1.307 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/5.208, allocations: 1.001 MB / 1.308 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/5.208, allocations: 0 / 1.308 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.005152/5.213, allocations: 1.942 MB / 1.31 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/5.213, allocations: 7.594 kB / 1.31 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/5.213, allocations: 3.312 kB / 1.31 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/5.213, allocations: 170.3 kB / 1.31 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/5.214, allocations: 245.1 kB / 1.31 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/5.218, allocations: 2.589 MB / 1.313 GB, free: 169.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/5.219, allocations: 74.59 kB / 1.313 GB, free: 169.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/5.219, allocations: 52.28 kB / 1.313 GB, free: 169.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 3 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002388/5.22, allocations: 120.3 kB / 1.313 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/5.22, allocations: 92.31 kB / 1.313 GB, free: 169 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00585/5.226, allocations: 2.507 MB / 1.316 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/5.226, allocations: 17.38 kB / 1.316 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/5.226, allocations: 3.875 kB / 1.316 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/5.226, allocations: 7.312 kB / 1.316 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007127/5.233, allocations: 3.699 MB / 1.319 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/5.233, allocations: 0 / 1.319 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/5.234, allocations: 287.8 kB / 1.319 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/5.234, allocations: 146 kB / 1.32 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/5.235, allocations: 39.58 kB / 1.32 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/5.237, allocations: 2.211 MB / 1.322 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/5.237, allocations: 5.656 kB / 1.322 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005706/5.243, allocations: 2.965 MB / 1.325 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006941/5.25, allocations: 4.339 MB / 1.329 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/5.25, allocations: 163.6 kB / 1.329 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/5.25, allocations: 11.42 kB / 1.329 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/5.251, allocations: 79.28 kB / 1.329 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/5.251, allocations: 103.2 kB / 1.329 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/5.251, allocations: 56.42 kB / 1.329 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004059/5.252, allocations: 329.8 kB / 1.33 GB, free: 166 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002839/5.255, allocations: 0.6692 MB / 1.33 GB, free: 166 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (junctionRFF2_1.junctionMN.rears[1].m_flow,junctionRFF2_1.junctionMN.fores[1].m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001506/5.256, allocations: 0.9109 MB / 1.331 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002721/5.259, allocations: 1.631 MB / 1.333 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/5.259, allocations: 0 / 1.333 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/5.26, allocations: 0.988 MB / 1.334 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/5.262, allocations: 270.1 kB / 1.334 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/5.266, allocations: 1.886 MB / 1.336 GB, free: 165.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/5.267, allocations: 1.313 MB / 1.337 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/5.267, allocations: 1.594 kB / 1.337 GB, free: 164.5 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1)