Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve",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.002618/0.002618, allocations: 179.5 kB / 7.453 MB, free: 2.523 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.06/1.06, 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.000763/0.000763, allocations: 98.58 kB / 261.1 MB, free: 13.62 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.5333/0.5333, 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.1244/0.6578, allocations: 72.39 MB / 471.7 MB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.9244, allocations: 66.26 MB / 0.5254 GB, free: 28.89 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/1.415, allocations: 353.3 MB / 0.8705 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.416, allocations: 77.66 kB / 0.8705 GB, free: 14.7 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.9879/2.404, allocations: 342.6 MB / 1.205 GB, free: 88.56 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/2.404, allocations: 11.12 kB / 1.205 GB, free: 88.56 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/2.404, allocations: 169.9 kB / 1.205 GB, free: 88.48 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/2.405, allocations: 0.7856 MB / 1.206 GB, free: 88.15 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/2.405, allocations: 39.62 kB / 1.206 GB, free: 88.15 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/2.405, allocations: 71 kB / 1.206 GB, free: 88.14 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/2.406, allocations: 1.061 MB / 1.207 GB, free: 88.14 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/2.408, allocations: 0.9099 MB / 1.208 GB, free: 88.06 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/2.408, allocations: 0 / 1.208 GB, free: 88.06 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/2.408, allocations: 0 / 1.208 GB, free: 88.06 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/2.408, allocations: 33.72 kB / 1.208 GB, free: 88.06 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004036/2.412, allocations: 4.746 MB / 1.213 GB, free: 85.38 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/2.413, allocations: 0.5022 MB / 1.213 GB, free: 85.35 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/2.413, allocations: 0.5004 MB / 1.214 GB, free: 85.34 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003141/2.416, allocations: 3.802 MB / 1.217 GB, free: 82.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/2.416, allocations: 45.66 kB / 1.217 GB, free: 82.45 MB / 0.573 GB Notification: Performance of pre-optimization done (n=115): time 2.675e-06/2.416, allocations: 0 / 1.217 GB, free: 82.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=115): time 0.002382/2.419, allocations: 1.091 MB / 1.219 GB, free: 82.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/2.419, allocations: 64.03 kB / 1.219 GB, free: 82.24 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveEqualPercentage.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/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveEqualPercentage.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/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveEqualPercentage.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/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveParabolic.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/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveParabolic.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/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveLinear.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/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveLinear.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/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveLinear.Cvs_US 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.0006687/2.419, allocations: 0.598 MB / 1.219 GB, free: 82.09 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/2.419, allocations: 28.89 kB / 1.219 GB, free: 82.06 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/2.42, allocations: 403.6 kB / 1.22 GB, free: 81.83 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/2.42, allocations: 378.9 kB / 1.22 GB, free: 81.58 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/2.42, allocations: 0 / 1.22 GB, free: 81.58 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/2.42, allocations: 341.7 kB / 1.22 GB, free: 81.27 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/2.42, allocations: 350.5 kB / 1.221 GB, free: 81.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/2.421, allocations: 436.6 kB / 1.221 GB, free: 81.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/2.422, allocations: 391.7 kB / 1.221 GB, free: 81.22 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/2.422, allocations: 1.406 kB / 1.221 GB, free: 81.22 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002285/2.424, allocations: 1.149 MB / 1.223 GB, free: 81.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/2.425, allocations: 3.906 kB / 1.223 GB, free: 81.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/2.425, allocations: 3.969 kB / 1.223 GB, free: 81.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/2.425, allocations: 146.1 kB / 1.223 GB, free: 81.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/2.426, allocations: 203.5 kB / 1.223 GB, free: 81.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/2.428, allocations: 4.206 MB / 1.227 GB, free: 77.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/2.429, allocations: 86.22 kB / 1.227 GB, free: 77.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/2.429, allocations: 42.45 kB / 1.227 GB, free: 77.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/2.429, allocations: 118.3 kB / 1.227 GB, free: 77.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/2.429, allocations: 119.4 kB / 1.227 GB, free: 77.24 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/2.432, allocations: 1.459 MB / 1.229 GB, free: 77.03 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/2.433, allocations: 11.62 kB / 1.229 GB, free: 77.03 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.433, allocations: 3.969 kB / 1.229 GB, free: 77.03 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/2.433, allocations: 7.5 kB / 1.229 GB, free: 77.03 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/2.437, allocations: 2.582 MB / 1.231 GB, free: 76.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/2.437, allocations: 7.016 kB / 1.231 GB, free: 76.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/2.437, allocations: 198.4 kB / 1.231 GB, free: 76.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/2.438, allocations: 152.9 kB / 1.232 GB, free: 76.57 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/2.438, allocations: 31.64 kB / 1.232 GB, free: 76.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/2.44, allocations: 4.214 MB / 1.236 GB, free: 72.97 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.44, allocations: 7.875 kB / 1.236 GB, free: 72.97 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003111/2.443, allocations: 1.876 MB / 1.238 GB, free: 72.63 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003726/2.447, allocations: 2.909 MB / 1.24 GB, free: 71.92 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/2.448, allocations: 317.6 kB / 1.241 GB, free: 71.75 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/2.448, allocations: 6.75 kB / 1.241 GB, free: 71.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/2.448, allocations: 45.59 kB / 1.241 GB, free: 71.74 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/2.448, allocations: 71.83 kB / 1.241 GB, free: 71.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/2.448, allocations: 52.23 kB / 1.241 GB, free: 71.74 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0004535/2.449, allocations: 459.8 kB / 1.241 GB, free: 71.63 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002289/2.451, allocations: 0.8722 MB / 1.242 GB, free: 71.52 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.inlet.m_flow,valveParabolic.inlet.m_flow,valveEqualPercentage.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(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.001295/2.453, allocations: 1.223 MB / 1.243 GB, free: 71.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001637/2.454, allocations: 1.37 MB / 1.245 GB, free: 70.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.454, allocations: 2.75 kB / 1.245 GB, free: 70.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/2.455, allocations: 0.9776 MB / 1.246 GB, free: 70.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/2.457, allocations: 321.6 kB / 1.246 GB, free: 70.07 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/2.459, allocations: 1.694 MB / 1.248 GB, free: 69.39 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007105/2.46, allocations: 1.309 MB / 1.249 GB, free: 68.66 MB / 0.573 GB Notification: Performance of SimCode: time 1.192e-06/2.46, allocations: 0 / 1.249 GB, free: 68.66 MB / 0.573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1)