Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_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 4.0.0+maint.om/package.mo): time 0.006901/0.006901, allocations: 184.9 kB / 7.461 MB, free: 2.242 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.672/2.672, allocations: 221.4 MB / 229.3 MB, free: 3.109 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.001847/0.001847, allocations: 102.3 kB / 280.1 MB, free: 1.234 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.02425/0.02425, allocations: 1.576 MB / 332.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 1.299/1.299, allocations: 90.04 MB / 473.6 MB, free: 7.242 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.5719/1.871, allocations: 76.21 MB / 0.537 GB, free: 14.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/2.149, allocations: 69.36 MB / 0.6047 GB, free: 8.762 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.804/3.953, allocations: 355.4 MB / 0.9517 GB, free: 72.23 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004206/3.953, allocations: 86.06 kB / 0.9518 GB, free: 72.19 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 1.6/5.554, allocations: 240.8 MB / 1.187 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.429e-05/5.554, allocations: 12 kB / 1.187 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006518/5.555, allocations: 154.1 kB / 1.187 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/5.557, allocations: 0.7302 MB / 1.188 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/5.557, allocations: 24 kB / 1.188 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/5.557, allocations: 55.91 kB / 1.188 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001841/5.559, allocations: 0.7458 MB / 1.189 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/5.561, allocations: 0.6594 MB / 1.189 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/5.561, allocations: 0 / 1.189 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/5.561, allocations: 0 / 1.189 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/5.561, allocations: 23.94 kB / 1.189 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/5.568, allocations: 3.464 MB / 1.193 GB, free: 107 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000834/5.569, allocations: 375.5 kB / 1.193 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/5.57, allocations: 351.1 kB / 1.193 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004453/5.574, allocations: 2.542 MB / 1.196 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/5.574, allocations: 39.22 kB / 1.196 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 4.057e-06/5.574, allocations: 0 / 1.196 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.003607/5.578, allocations: 0.7928 MB / 1.197 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/5.578, allocations: 64.05 kB / 1.197 GB, free: 102.6 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24: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 1.0.0-main/FlowControl/SpecificValveType.mo:21:3-22: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 1.0.0-main/FlowControl/SpecificValveType.mo:25:3-26: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 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24: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 1.0.0-main/FlowControl/SpecificValveType.mo:21:3-22: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 1.0.0-main/FlowControl/SpecificValveType.mo:14:3-16:44: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.002284/5.58, allocations: 0.9091 MB / 1.198 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/5.58, allocations: 25.7 kB / 1.198 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/5.58, allocations: 348.2 kB / 1.198 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/5.581, allocations: 268 kB / 1.198 GB, free: 101 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/5.581, allocations: 0 / 1.198 GB, free: 101 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001183/5.581, allocations: 337.9 kB / 1.199 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/5.582, allocations: 241.5 kB / 1.199 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006305/5.582, allocations: 320.1 kB / 1.199 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/5.584, allocations: 284.4 kB / 1.199 GB, free: 99.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/5.584, allocations: 0 / 1.199 GB, free: 99.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003351/5.587, allocations: 0.8425 MB / 1.2 GB, free: 98.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/5.587, allocations: 4 kB / 1.2 GB, free: 98.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/5.587, allocations: 8 kB / 1.2 GB, free: 98.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/5.588, allocations: 101.6 kB / 1.2 GB, free: 98.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/5.589, allocations: 151.8 kB / 1.2 GB, free: 98.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/5.592, allocations: 2.794 MB / 1.203 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/5.594, allocations: 63.42 kB / 1.203 GB, free: 95.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/5.594, allocations: 40.03 kB / 1.203 GB, free: 95.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002427/5.594, allocations: 120.7 kB / 1.203 GB, free: 95.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/5.595, allocations: 114.6 kB / 1.204 GB, free: 95.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/5.599, allocations: 1.062 MB / 1.205 GB, free: 94.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/5.599, allocations: 12 kB / 1.205 GB, free: 94.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/5.599, allocations: 4.188 kB / 1.205 GB, free: 94.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/5.599, allocations: 7.984 kB / 1.205 GB, free: 94.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006714/5.606, allocations: 2.011 MB / 1.207 GB, free: 92.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/5.606, allocations: 0 / 1.207 GB, free: 92.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008961/5.607, allocations: 147.8 kB / 1.207 GB, free: 92.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005416/5.607, allocations: 105.6 kB / 1.207 GB, free: 91.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/5.607, allocations: 19.97 kB / 1.207 GB, free: 91.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/5.611, allocations: 2.817 MB / 1.21 GB, free: 88.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/5.611, allocations: 4 kB / 1.21 GB, free: 88.87 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004975/5.616, allocations: 1.366 MB / 1.211 GB, free: 87.47 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005682/5.621, allocations: 2.208 MB / 1.213 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/5.623, allocations: 359.2 kB / 1.213 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/5.623, allocations: 4 kB / 1.213 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009433/5.624, allocations: 39.88 kB / 1.213 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/5.624, allocations: 56.62 kB / 1.213 GB, free: 84.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/5.624, allocations: 31.98 kB / 1.214 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001637/5.626, allocations: 0.7106 MB / 1.214 GB, free: 84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003927/5.63, allocations: 0.6124 MB / 1.215 GB, free: 83.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.inlet.m_flow,slideValveInverse.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.00347/5.633, allocations: 0.9978 MB / 1.216 GB, free: 82.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00258/5.636, allocations: 0.9492 MB / 1.217 GB, free: 81.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/5.636, allocations: 0 / 1.217 GB, free: 81.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/5.637, allocations: 0.6731 MB / 1.217 GB, free: 80.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/5.64, allocations: 263.5 kB / 1.218 GB, free: 80.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/5.647, allocations: 1.661 MB / 1.219 GB, free: 78.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/5.648, allocations: 1.261 MB / 1.22 GB, free: 77.58 MB / 0.6042 GB Notification: Performance of SimCode: time 1.824e-06/5.648, allocations: 4 kB / 1.22 GB, free: 77.58 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1)