Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.001897/0.001897, allocations: 183.6 kB / 7.459 MB, free: 2.512 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.021/1.021, allocations: 205.2 MB / 213.1 MB, free: 14 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.0008189/0.0008189, allocations: 86.41 kB / 261.1 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5695/0.5695, allocations: 90.34 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1257/0.6952, allocations: 72.39 MB / 471.8 MB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.9842, allocations: 66.25 MB / 0.5254 GB, free: 28.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7969/1.781, allocations: 436.9 MB / 0.9521 GB, free: 163.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/1.781, allocations: 74.77 kB / 0.9522 GB, free: 163.3 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 0.564/2.345, allocations: 205.6 MB / 1.153 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/2.345, allocations: 7.781 kB / 1.153 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/2.345, allocations: 105.4 kB / 1.153 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/2.346, allocations: 0.5085 MB / 1.154 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/2.346, allocations: 22.5 kB / 1.154 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/2.346, allocations: 41.22 kB / 1.154 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007178/2.347, allocations: 0.5612 MB / 1.154 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/2.348, allocations: 0.5366 MB / 1.155 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/2.348, allocations: 0 / 1.155 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/2.348, allocations: 3.938 kB / 1.155 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/2.348, allocations: 15.56 kB / 1.155 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/2.35, allocations: 3.044 MB / 1.158 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/2.351, allocations: 0.5587 MB / 1.158 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/2.351, allocations: 265.2 kB / 1.159 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00046/2.352, allocations: 0.9803 MB / 1.159 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/2.352, allocations: 38.91 kB / 1.16 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 1.573e-06/2.352, allocations: 0 / 1.16 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.003001/2.355, allocations: 1.379 MB / 1.161 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/2.355, allocations: 62.92 kB / 1.161 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/2.355, allocations: 336.8 kB / 1.161 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/2.355, allocations: 29.02 kB / 1.161 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/2.355, allocations: 263.2 kB / 1.162 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.688e-05/2.355, allocations: 202.2 kB / 1.162 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/2.355, allocations: 0 / 1.162 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.561e-05/2.355, allocations: 373.7 kB / 1.162 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/2.356, allocations: 186.2 kB / 1.162 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/2.356, allocations: 186.9 kB / 1.162 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/2.357, allocations: 212.8 kB / 1.163 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/2.357, allocations: 3.375 kB / 1.163 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00118/2.358, allocations: 0.6247 MB / 1.163 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/2.358, allocations: 7.781 kB / 1.163 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/2.358, allocations: 0 / 1.163 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/2.358, allocations: 107.8 kB / 1.163 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/2.358, allocations: 107.9 kB / 1.163 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/2.36, allocations: 1.824 MB / 1.165 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/2.36, allocations: 32.72 kB / 1.165 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/2.36, allocations: 23.31 kB / 1.165 GB, free: 123.6 MB / 0.5886 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 9.037e-05/2.36, allocations: 106 kB / 1.165 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/2.361, allocations: 57.66 kB / 1.165 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/2.362, allocations: 0.8172 MB / 1.166 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/2.362, allocations: 7.094 kB / 1.166 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/2.362, allocations: 0 / 1.166 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/2.362, allocations: 6.812 kB / 1.166 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/2.364, allocations: 1.502 MB / 1.168 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/2.364, allocations: 3.188 kB / 1.168 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/2.365, allocations: 110.2 kB / 1.168 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/2.365, allocations: 106.3 kB / 1.168 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/2.365, allocations: 14.72 kB / 1.168 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/2.367, allocations: 1.838 MB / 1.17 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/2.367, allocations: 0 / 1.17 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001574/2.368, allocations: 1.082 MB / 1.171 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002034/2.37, allocations: 1.814 MB / 1.173 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/2.37, allocations: 131.4 kB / 1.173 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/2.37, allocations: 11.42 kB / 1.173 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/2.371, allocations: 36.62 kB / 1.173 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/2.371, allocations: 41.16 kB / 1.173 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/2.371, allocations: 22.61 kB / 1.173 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001945/2.371, allocations: 264.8 kB / 1.173 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001529/2.373, allocations: 489.5 kB / 1.174 GB, free: 120.7 MB / 0.5886 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.000904/2.373, allocations: 0.7896 MB / 1.174 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008714/2.374, allocations: 0.6692 MB / 1.175 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/2.374, allocations: 0 / 1.175 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/2.375, allocations: 477.3 kB / 1.175 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/2.376, allocations: 154.8 kB / 1.176 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/2.377, allocations: 0.9625 MB / 1.176 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/2.378, allocations: 1.032 MB / 1.177 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/2.378, allocations: 0 / 1.177 GB, free: 119.2 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1)