Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",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.006656/0.006656, allocations: 184.8 kB / 7.463 MB, free: 2.5 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.556/2.556, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.001546/0.001547, allocations: 102 kB / 280.1 MB, free: 1.309 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.01945/0.01945, allocations: 1.568 MB / 332.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 1.291/1.291, allocations: 90.04 MB / 473.6 MB, free: 7.297 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.5788/1.87, allocations: 76.21 MB / 0.537 GB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/2.17, allocations: 69.35 MB / 0.6047 GB, free: 8.805 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.231/4.401, allocations: 438.7 MB / 1.033 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004886/4.401, allocations: 82.38 kB / 1.033 GB, free: 8.898 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 2.898/7.299, allocations: 359.8 MB / 1.385 GB, free: 76.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.516e-05/7.299, allocations: 9.25 kB / 1.385 GB, free: 76.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/7.302, allocations: 216.1 kB / 1.385 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/7.307, allocations: 0.8832 MB / 1.386 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/7.307, allocations: 45.28 kB / 1.386 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005646/7.308, allocations: 95.69 kB / 1.386 GB, free: 76.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004274/7.312, allocations: 1.318 MB / 1.387 GB, free: 76.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003929/7.316, allocations: 1.361 MB / 1.388 GB, free: 75.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/7.316, allocations: 3.656 kB / 1.388 GB, free: 75.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/7.316, allocations: 6.844 kB / 1.388 GB, free: 75.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-05/7.317, allocations: 37.64 kB / 1.388 GB, free: 75.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/7.334, allocations: 7.206 MB / 1.395 GB, free: 71.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/7.337, allocations: 1.165 MB / 1.397 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/7.339, allocations: 0.7175 MB / 1.397 GB, free: 71.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/7.341, allocations: 1.437 MB / 1.399 GB, free: 69.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/7.341, allocations: 61.34 kB / 1.399 GB, free: 69.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=177): time 1.021e-05/7.341, allocations: 0 / 1.399 GB, free: 69.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=177): time 0.008902/7.35, allocations: 1.688 MB / 1.4 GB, free: 69.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/7.35, allocations: 179 kB / 1.401 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/7.352, allocations: 0.6343 MB / 1.401 GB, free: 69.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/7.352, allocations: 29.52 kB / 1.401 GB, free: 69.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/7.353, allocations: 458.8 kB / 1.402 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009097/7.353, allocations: 0.5793 MB / 1.402 GB, free: 68.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/7.354, allocations: 3.906 kB / 1.402 GB, free: 68.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002331/7.354, allocations: 370 kB / 1.403 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/7.355, allocations: 0.4906 MB / 1.403 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/7.357, allocations: 0.7929 MB / 1.404 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/7.362, allocations: 0.6924 MB / 1.404 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/7.362, allocations: 0 / 1.404 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.008673/7.371, allocations: 1.817 MB / 1.406 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/7.371, allocations: 3.906 kB / 1.406 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/7.371, allocations: 7.812 kB / 1.406 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/7.372, allocations: 210.4 kB / 1.406 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/7.375, allocations: 384.8 kB / 1.407 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007894/7.383, allocations: 6.753 MB / 1.413 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/7.386, allocations: 141.8 kB / 1.414 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/7.387, allocations: 71.78 kB / 1.414 GB, free: 61.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 196 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000725/7.387, allocations: 141 kB / 1.414 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007185/7.388, allocations: 153.1 kB / 1.414 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/7.397, allocations: 2.106 MB / 1.416 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-05/7.397, allocations: 22.98 kB / 1.416 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/7.397, allocations: 3.781 kB / 1.416 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/7.397, allocations: 6.984 kB / 1.416 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/7.41, allocations: 3.785 MB / 1.42 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/7.41, allocations: 3 kB / 1.42 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/7.412, allocations: 288.2 kB / 1.42 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/7.414, allocations: 429.3 kB / 1.42 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/7.414, allocations: 36.08 kB / 1.42 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009472/7.424, allocations: 9.06 MB / 1.429 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.558e-05/7.424, allocations: 11.34 kB / 1.429 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0176/7.441, allocations: 3.137 MB / 1.432 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01988/7.461, allocations: 4.373 MB / 1.437 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/7.463, allocations: 236.7 kB / 1.437 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006259/7.464, allocations: 10.28 kB / 1.437 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/7.466, allocations: 71 kB / 1.437 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/7.466, allocations: 130.4 kB / 1.437 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003634/7.467, allocations: 70.31 kB / 1.437 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00115/7.468, allocations: 488 kB / 1.438 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01265/7.481, allocations: 0.9962 MB / 1.439 GB, free: 47.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (flowResistance4.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,pCV1.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004324/7.485, allocations: 1.2 MB / 1.44 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007285/7.492, allocations: 2.042 MB / 1.442 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.608e-05/7.492, allocations: 7.844 kB / 1.442 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004887/7.497, allocations: 1.485 MB / 1.443 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004942/7.502, allocations: 419.5 kB / 1.444 GB, free: 45.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/7.514, allocations: 2.768 MB / 1.446 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004457/7.519, allocations: 1.459 MB / 1.448 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of SimCode: time 3.226e-06/7.519, allocations: 3.594 kB / 1.448 GB, free: 43.54 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1)