Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.002481/0.002481, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.079/1.079, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0007916/0.0007915, allocations: 90.84 kB / 261.1 MB, free: 13.54 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.5688/0.5688, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1362/0.705, allocations: 72.39 MB / 471.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/1.002, allocations: 66.27 MB / 0.5254 GB, free: 28.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/1.489, allocations: 354.9 MB / 0.872 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/1.489, allocations: 80.33 kB / 0.872 GB, free: 13.09 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.6039/2.093, allocations: 235.6 MB / 1.102 GB, free: 33.43 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/2.093, allocations: 12.5 kB / 1.102 GB, free: 33.41 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/2.093, allocations: 150.1 kB / 1.102 GB, free: 33.27 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/2.095, allocations: 0.7363 MB / 1.103 GB, free: 32.47 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/2.095, allocations: 28 kB / 1.103 GB, free: 32.45 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/2.095, allocations: 48 kB / 1.103 GB, free: 32.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001345/2.096, allocations: 0.7496 MB / 1.104 GB, free: 31.65 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/2.098, allocations: 0.6555 MB / 1.104 GB, free: 30.99 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/2.098, allocations: 0 / 1.104 GB, free: 30.99 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/2.098, allocations: 4 kB / 1.104 GB, free: 30.98 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/2.098, allocations: 20 kB / 1.104 GB, free: 30.96 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004046/2.102, allocations: 3.471 MB / 1.108 GB, free: 27.16 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/2.102, allocations: 375.6 kB / 1.108 GB, free: 26.79 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/2.103, allocations: 352.5 kB / 1.109 GB, free: 26.44 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002532/2.105, allocations: 2.528 MB / 1.111 GB, free: 23.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/2.105, allocations: 47.16 kB / 1.111 GB, free: 23.54 MB / 0.573 GB Notification: Performance of pre-optimization done (n=81): time 2.505e-06/2.105, allocations: 0 / 1.111 GB, free: 23.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=81): time 0.001931/2.107, allocations: 0.7851 MB / 1.112 GB, free: 22.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/2.107, allocations: 60.06 kB / 1.112 GB, free: 22.66 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23: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/FlowControl/SpecificValveType.mo:20:3-21: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/FlowControl/SpecificValveType.mo:24:3-25: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/FlowControl/SpecificValveType.mo:22:3-23: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/FlowControl/SpecificValveType.mo:20:3-21: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/FlowControl/SpecificValveType.mo:14:3-15: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.001165/2.108, allocations: 0.922 MB / 1.113 GB, free: 21.73 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/2.108, allocations: 25.7 kB / 1.113 GB, free: 21.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/2.109, allocations: 340.3 kB / 1.113 GB, free: 21.36 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/2.109, allocations: 264 kB / 1.113 GB, free: 21.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/2.109, allocations: 0 / 1.113 GB, free: 21.09 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/2.109, allocations: 334 kB / 1.114 GB, free: 20.76 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/2.109, allocations: 253.5 kB / 1.114 GB, free: 20.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/2.11, allocations: 320.1 kB / 1.114 GB, free: 20.18 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/2.11, allocations: 280.3 kB / 1.114 GB, free: 19.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.11, allocations: 3.906 kB / 1.114 GB, free: 19.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001771/2.112, allocations: 0.8387 MB / 1.115 GB, free: 19.05 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/2.112, allocations: 4 kB / 1.115 GB, free: 19.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/2.112, allocations: 7.938 kB / 1.115 GB, free: 19.04 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/2.113, allocations: 101.7 kB / 1.115 GB, free: 18.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/2.113, allocations: 151.8 kB / 1.116 GB, free: 18.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/2.115, allocations: 2.821 MB / 1.118 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/2.116, allocations: 67.47 kB / 1.118 GB, free: 15.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/2.116, allocations: 28.05 kB / 1.118 GB, free: 15.64 MB / 0.573 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.0001358/2.116, allocations: 108.9 kB / 1.119 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/2.116, allocations: 118.5 kB / 1.119 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/2.118, allocations: 1.051 MB / 1.12 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/2.119, allocations: 8 kB / 1.12 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/2.119, allocations: 4 kB / 1.12 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/2.119, allocations: 3.984 kB / 1.12 GB, free: 14.33 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/2.122, allocations: 2.023 MB / 1.122 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/2.122, allocations: 4 kB / 1.122 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/2.122, allocations: 147.8 kB / 1.122 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/2.123, allocations: 97.62 kB / 1.122 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/2.123, allocations: 15.98 kB / 1.122 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/2.125, allocations: 2.821 MB / 1.125 GB, free: 8.934 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/2.125, allocations: 0 / 1.125 GB, free: 8.934 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002239/2.127, allocations: 1.37 MB / 1.126 GB, free: 7.523 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002812/2.13, allocations: 2.208 MB / 1.128 GB, free: 5.273 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/2.13, allocations: 359.1 kB / 1.128 GB, free: 4.902 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/2.13, allocations: 7.984 kB / 1.128 GB, free: 4.895 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/2.131, allocations: 35.89 kB / 1.129 GB, free: 4.859 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/2.131, allocations: 52.69 kB / 1.129 GB, free: 4.809 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/2.131, allocations: 35.97 kB / 1.129 GB, free: 4.773 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0008911/2.132, allocations: 0.7028 MB / 1.129 GB, free: 4.062 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002061/2.134, allocations: 0.6201 MB / 1.13 GB, free: 3.441 MB / 0.573 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.001507/2.135, allocations: 1.014 MB / 1.131 GB, free: 2.484 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001292/2.137, allocations: 0.9414 MB / 1.132 GB, free: 1.508 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/2.137, allocations: 7.938 kB / 1.132 GB, free: 1.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/2.138, allocations: 0.6661 MB / 1.132 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/2.139, allocations: 260.1 kB / 1.133 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1838/2.323, allocations: 1.654 MB / 1.134 GB, free: 153.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008134/2.323, allocations: 1.279 MB / 1.136 GB, free: 152.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.723e-06/2.323, allocations: 3.344 kB / 1.136 GB, free: 152.8 MB / 0.573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1)