Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",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.001045/0.001048, allocations: 178.2 kB / 8.519 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 221.4 MB / 230.3 MB, free: 7.758 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.001025/0.001025, allocations: 87.53 kB / 281.2 MB, free: 5.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1589/0.1589, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.181/0.3399, allocations: 68.04 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.4391, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8516/1.291, allocations: 0.5045 GB / 0.9987 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/1.291, allocations: 87.78 kB / 0.9988 GB, free: 101.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 1.099/2.39, allocations: 384.8 MB / 1.375 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/2.39, allocations: 12.62 kB / 1.375 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/2.391, allocations: 215.6 kB / 1.375 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/2.393, allocations: 0.8637 MB / 1.376 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/2.393, allocations: 27.66 kB / 1.376 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/2.393, allocations: 38.69 kB / 1.376 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001606/2.395, allocations: 1.061 MB / 1.377 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/2.397, allocations: 1.147 MB / 1.378 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/2.397, allocations: 0 / 1.378 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/2.397, allocations: 2.344 kB / 1.378 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/2.397, allocations: 92.38 kB / 1.378 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007072/2.404, allocations: 5.215 MB / 1.383 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/2.405, allocations: 462.4 kB / 1.383 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/2.405, allocations: 312.8 kB / 1.384 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/2.405, allocations: 345.4 kB / 1.384 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/2.405, allocations: 48.62 kB / 1.384 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 1.964e-06/2.405, allocations: 3.938 kB / 1.384 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.007874/2.413, allocations: 2.354 MB / 1.386 GB, free: 63.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/2.413, allocations: 215.4 kB / 1.387 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/2.414, allocations: 0.6987 MB / 1.387 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/2.414, allocations: 25.7 kB / 1.387 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/2.414, allocations: 410.7 kB / 1.388 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/2.415, allocations: 220 kB / 1.388 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/2.415, allocations: 0 / 1.388 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.978e-05/2.415, allocations: 342.5 kB / 1.388 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/2.415, allocations: 389.7 kB / 1.389 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/2.416, allocations: 0.6126 MB / 1.389 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/2.418, allocations: 0.9724 MB / 1.39 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/2.418, allocations: 0 / 1.39 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003891/2.422, allocations: 1.811 MB / 1.392 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000315/2.423, allocations: 2.181 MB / 1.394 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/2.423, allocations: 3.156 kB / 1.394 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/2.425, allocations: 0.4887 MB / 1.395 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/2.425, allocations: 179.8 kB / 1.395 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/2.427, allocations: 1.47 MB / 1.396 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/2.428, allocations: 62.45 kB / 1.396 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/2.428, allocations: 93.22 kB / 1.396 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/2.429, allocations: 7.781 kB / 1.396 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003244/2.432, allocations: 1.483 MB / 1.398 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/2.432, allocations: 5.156 kB / 1.398 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/2.433, allocations: 326.2 kB / 1.398 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/2.434, allocations: 202.3 kB / 1.398 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/2.435, allocations: 1.016 MB / 1.399 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/2.436, allocations: 52.41 kB / 1.399 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/2.436, allocations: 89.64 kB / 1.399 GB, free: 58.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0002386/2.437, allocations: 126.6 kB / 1.4 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/2.437, allocations: 97.12 kB / 1.4 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/2.44, allocations: 1.681 MB / 1.401 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/2.44, allocations: 9.188 kB / 1.401 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/2.44, allocations: 1.219 kB / 1.401 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/2.44, allocations: 6.422 kB / 1.401 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/2.444, allocations: 1.844 MB / 1.403 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/2.444, allocations: 1.062 kB / 1.403 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/2.445, allocations: 148 kB / 1.403 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-05/2.445, allocations: 24.19 kB / 1.403 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-05/2.445, allocations: 24.27 kB / 1.403 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006376/2.445, allocations: 1.226 MB / 1.405 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.445, allocations: 1.219 kB / 1.405 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002557/2.448, allocations: 1.418 MB / 1.406 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003258/2.451, allocations: 2.333 MB / 1.408 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/2.452, allocations: 181.5 kB / 1.408 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/2.452, allocations: 1.375 kB / 1.408 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/2.453, allocations: 54.25 kB / 1.408 GB, free: 54.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/2.453, allocations: 47.05 kB / 1.408 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/2.453, allocations: 56.64 kB / 1.408 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0008358/2.454, allocations: 0.5254 MB / 1.409 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005276/2.459, allocations: 1.427 MB / 1.41 GB, free: 53.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003988/2.463, allocations: 1.991 MB / 1.412 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002598/2.466, allocations: 1.468 MB / 1.414 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.466, allocations: 0.7812 kB / 1.414 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006624/2.466, allocations: 484.2 kB / 1.414 GB, free: 52.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/2.468, allocations: 459.6 kB / 1.415 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/2.472, allocations: 1.484 MB / 1.416 GB, free: 51.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/2.473, allocations: 1.372 MB / 1.417 GB, free: 50.74 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/2.473, allocations: 0 / 1.417 GB, free: 50.74 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)