Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_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 4.0.0+maint.om/package.mo): time 0.009264/0.009264, 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 4.0.0+maint.om/package.mo): time 2.731/2.731, allocations: 221.4 MB / 229.3 MB, free: 3.051 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.001821/0.001821, allocations: 100.2 kB / 280.1 MB, free: 1.23 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.03204/0.03204, allocations: 1.564 MB / 332.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 1.277/1.277, allocations: 90.04 MB / 473.6 MB, free: 7.238 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.7085/1.985, allocations: 76.21 MB / 0.537 GB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/2.293, allocations: 69.36 MB / 0.6047 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.026/4.32, allocations: 353.4 MB / 0.9498 GB, free: 77.1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/4.32, allocations: 84.94 kB / 0.9499 GB, free: 77.06 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 2.147/6.467, allocations: 350.1 MB / 1.292 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 9.35e-05/6.467, allocations: 8 kB / 1.292 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/6.468, allocations: 173.9 kB / 1.292 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/6.472, allocations: 0.7775 MB / 1.293 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/6.472, allocations: 40 kB / 1.293 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/6.472, allocations: 71.98 kB / 1.293 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003282/6.476, allocations: 1.07 MB / 1.294 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/6.478, allocations: 0.9011 MB / 1.295 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/6.478, allocations: 0 / 1.295 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/6.479, allocations: 7.984 kB / 1.295 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/6.479, allocations: 31.98 kB / 1.295 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/6.491, allocations: 4.737 MB / 1.299 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/6.493, allocations: 0.5077 MB / 1.3 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009947/6.494, allocations: 498.4 kB / 1.3 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5789/7.073, allocations: 3.8 MB / 1.304 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.238e-05/7.073, allocations: 48.78 kB / 1.304 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 6.583e-06/7.073, allocations: 0 / 1.304 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=115): time 0.005596/7.078, allocations: 1.093 MB / 1.305 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/7.078, allocations: 64.09 kB / 1.305 GB, free: 149.4 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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 1.0.0-main/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.001481/7.08, allocations: 0.5992 MB / 1.306 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/7.08, allocations: 25.7 kB / 1.306 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/7.08, allocations: 399.7 kB / 1.306 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004/7.081, allocations: 378.3 kB / 1.307 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/7.081, allocations: 0 / 1.307 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001447/7.081, allocations: 351 kB / 1.307 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008588/7.082, allocations: 351.2 kB / 1.307 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/7.083, allocations: 434 kB / 1.308 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/7.086, allocations: 391 kB / 1.308 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/7.086, allocations: 0 / 1.308 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006119/7.092, allocations: 1.145 MB / 1.309 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/7.092, allocations: 8.938 kB / 1.309 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/7.092, allocations: 0 / 1.309 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/7.093, allocations: 153 kB / 1.309 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/7.095, allocations: 196.4 kB / 1.309 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/7.1, allocations: 4.218 MB / 1.314 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/7.103, allocations: 81.48 kB / 1.314 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/7.103, allocations: 43.81 kB / 1.314 GB, free: 144.8 MB / 0.6042 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.0006144/7.104, allocations: 119.7 kB / 1.314 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/7.104, allocations: 116.8 kB / 1.314 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007711/7.112, allocations: 1.454 MB / 1.315 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/7.112, allocations: 10.84 kB / 1.315 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/7.112, allocations: 3.406 kB / 1.315 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/7.112, allocations: 12.89 kB / 1.315 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/7.123, allocations: 2.575 MB / 1.318 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/7.123, allocations: 0 / 1.318 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/7.125, allocations: 209.5 kB / 1.318 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009283/7.125, allocations: 156.1 kB / 1.318 GB, free: 144 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/7.126, allocations: 29.69 kB / 1.318 GB, free: 144 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/7.131, allocations: 4.223 MB / 1.322 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/7.131, allocations: 3.281 kB / 1.322 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008398/7.14, allocations: 1.871 MB / 1.324 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009085/7.149, allocations: 2.913 MB / 1.327 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/7.15, allocations: 322 kB / 1.327 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005232/7.151, allocations: 7.094 kB / 1.327 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/7.152, allocations: 38.8 kB / 1.327 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/7.153, allocations: 76.34 kB / 1.328 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/7.153, allocations: 51.12 kB / 1.328 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.003505/7.156, allocations: 456.2 kB / 1.328 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006656/7.163, allocations: 0.8779 MB / 1.329 GB, free: 139.1 MB / 0.6042 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.004132/7.167, allocations: 1.215 MB / 1.33 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004314/7.172, allocations: 1.371 MB / 1.331 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/7.172, allocations: 3.875 kB / 1.331 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/7.174, allocations: 0.9658 MB / 1.332 GB, free: 138 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/7.177, allocations: 327.1 kB / 1.333 GB, free: 138 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/7.188, allocations: 1.7 MB / 1.334 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/7.189, allocations: 1.309 MB / 1.336 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.683e-06/7.189, allocations: 0 / 1.336 GB, free: 136.8 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1)