Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",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.0026/0.002599, 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 2.024/2.024, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.001064/0.001064, allocations: 81.44 kB / 261.1 MB, free: 13.56 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.018/1.018, allocations: 90.35 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.1753/1.194, allocations: 72.39 MB / 471.8 MB, free: 3.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/1.708, allocations: 66.26 MB / 0.5254 GB, free: 28.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9277/2.636, allocations: 358.5 MB / 0.8755 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/2.636, allocations: 88.14 kB / 0.8756 GB, free: 6.641 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 1.069/3.705, allocations: 269.2 MB / 1.139 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/3.706, allocations: 8.5 kB / 1.139 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/3.707, allocations: 213.5 kB / 1.139 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/3.709, allocations: 0.9191 MB / 1.14 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/3.709, allocations: 47.94 kB / 1.14 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000456/3.71, allocations: 75.98 kB / 1.14 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003243/3.713, allocations: 1.466 MB / 1.141 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/3.716, allocations: 1.158 MB / 1.142 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/3.716, allocations: 7.984 kB / 1.142 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/3.716, allocations: 0 / 1.142 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/3.716, allocations: 36 kB / 1.142 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3797/4.096, allocations: 6.175 MB / 1.148 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/4.098, allocations: 1.211 MB / 1.15 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009228/4.099, allocations: 0.6659 MB / 1.15 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006272/4.105, allocations: 4.427 MB / 1.155 GB, free: 146.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/4.106, allocations: 0.6515 MB / 1.155 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=148): time 5.541e-06/4.106, allocations: 0.5625 kB / 1.155 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.005605/4.112, allocations: 1.736 MB / 1.157 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/4.112, allocations: 80.11 kB / 1.157 GB, free: 146.5 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter slideValveInverse.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValveInverse.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:27:3-28:92:writable] Warning: Parameter slideValve.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter slideValve.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValve.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:17:3-18:61:writable] Warning: Parameter slideValve.d_valve has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/4.114, allocations: 1.007 MB / 1.158 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/4.114, allocations: 25.7 kB / 1.158 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/4.114, allocations: 451.3 kB / 1.158 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/4.115, allocations: 480.3 kB / 1.159 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/4.115, allocations: 3.75 kB / 1.159 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001496/4.115, allocations: 354.9 kB / 1.159 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007899/4.116, allocations: 470.3 kB / 1.16 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008375/4.116, allocations: 0.6158 MB / 1.16 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/4.12, allocations: 0.9135 MB / 1.161 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/4.12, allocations: 0 / 1.161 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005718/4.126, allocations: 1.839 MB / 1.163 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/4.126, allocations: 6 kB / 1.163 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/4.126, allocations: 5.438 kB / 1.163 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/4.127, allocations: 110.2 kB / 1.163 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/4.128, allocations: 291.4 kB / 1.163 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/4.13, allocations: 2.851 MB / 1.166 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/4.132, allocations: 124.2 kB / 1.166 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/4.132, allocations: 61.94 kB / 1.166 GB, free: 142.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (159): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000291/4.132, allocations: 140.1 kB / 1.166 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/4.132, allocations: 149.5 kB / 1.167 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/4.139, allocations: 2.388 MB / 1.169 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/4.139, allocations: 23.06 kB / 1.169 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/4.139, allocations: 0 / 1.169 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/4.139, allocations: 13.67 kB / 1.169 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0085/4.148, allocations: 3.708 MB / 1.173 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/4.148, allocations: 0 / 1.173 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/4.149, allocations: 314.1 kB / 1.173 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/4.149, allocations: 111.7 kB / 1.173 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/4.149, allocations: 39.08 kB / 1.173 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/4.152, allocations: 2.837 MB / 1.176 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/4.152, allocations: 0 / 1.176 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0064/4.158, allocations: 2.719 MB / 1.178 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007604/4.166, allocations: 3.95 MB / 1.182 GB, free: 138.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/4.167, allocations: 0.5041 MB / 1.183 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/4.167, allocations: 9.344 kB / 1.183 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/4.169, allocations: 62.8 kB / 1.183 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/4.169, allocations: 119.9 kB / 1.183 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/4.169, allocations: 65.5 kB / 1.183 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001156/4.17, allocations: 0.7684 MB / 1.184 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003766/4.174, allocations: 0.7931 MB / 1.185 GB, free: 138.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.rear.m_flow,slideValveInverse.rear.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 (170): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002586/4.177, allocations: 1.085 MB / 1.186 GB, free: 138 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003778/4.18, allocations: 1.561 MB / 1.187 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/4.18, allocations: 0 / 1.187 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/4.182, allocations: 0.9868 MB / 1.188 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/4.185, allocations: 365.4 kB / 1.188 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/4.192, allocations: 2.356 MB / 1.191 GB, free: 137 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/4.194, allocations: 1.523 MB / 1.192 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.233e-06/4.194, allocations: 0 / 1.192 GB, free: 136.3 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1)