Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.001087/0.001087, allocations: 188.7 kB / 7.8 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.505/1.505, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009192/0.0009193, allocations: 83.34 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2201/0.2201, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2623/0.4826, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.9031, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/2.112, allocations: 0.5076 GB / 0.9731 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/2.113, allocations: 95.44 kB / 0.9732 GB, free: 89.07 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.8061/2.919, allocations: 218.3 MB / 1.186 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/2.919, allocations: 15.94 kB / 1.186 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/2.92, allocations: 134.9 kB / 1.187 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/2.921, allocations: 0.5426 MB / 1.187 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/2.922, allocations: 84.39 kB / 1.187 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/2.922, allocations: 31.91 kB / 1.187 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009869/2.923, allocations: 0.5372 MB / 1.188 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/2.924, allocations: 0.7473 MB / 1.188 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/2.924, allocations: 4 kB / 1.188 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/2.924, allocations: 4 kB / 1.188 GB, free: 83.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/2.924, allocations: 40.98 kB / 1.189 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004599/2.929, allocations: 4.042 MB / 1.192 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/2.929, allocations: 202.4 kB / 1.193 GB, free: 78.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/2.929, allocations: 133.3 kB / 1.193 GB, free: 78.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.739e-05/2.929, allocations: 32.72 kB / 1.193 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/2.929, allocations: 38.8 kB / 1.193 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/2.929, allocations: 0 / 1.193 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005439/2.935, allocations: 1.433 MB / 1.194 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/2.935, allocations: 136.5 kB / 1.194 GB, free: 76.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/2.935, allocations: 462 kB / 1.195 GB, free: 76.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/2.935, allocations: 25.7 kB / 1.195 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/2.936, allocations: 338.8 kB / 1.195 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/2.936, allocations: 126.3 kB / 1.195 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/2.936, allocations: 0 / 1.195 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001077/2.936, allocations: 362.8 kB / 1.196 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/2.936, allocations: 185.5 kB / 1.196 GB, free: 75.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/2.937, allocations: 493.1 kB / 1.196 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/2.937, allocations: 339.6 kB / 1.197 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/2.937, allocations: 7.938 kB / 1.197 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001494/2.939, allocations: 0.8256 MB / 1.197 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/2.939, allocations: 8.062 kB / 1.197 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/2.939, allocations: 12 kB / 1.197 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/2.94, allocations: 276.6 kB / 1.198 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/2.94, allocations: 119.8 kB / 1.198 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/2.941, allocations: 0.9673 MB / 1.199 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/2.942, allocations: 27.98 kB / 1.199 GB, free: 72.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/2.942, allocations: 68.05 kB / 1.199 GB, free: 72.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001752/2.942, allocations: 134.3 kB / 1.199 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/2.943, allocations: 63.34 kB / 1.199 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/2.944, allocations: 0.5701 MB / 1.2 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/2.944, allocations: 4 kB / 1.2 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/2.944, allocations: 3.984 kB / 1.2 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/2.944, allocations: 0 / 1.2 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/2.945, allocations: 0.9988 MB / 1.201 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/2.946, allocations: 0 / 1.201 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000993/2.947, allocations: 187.8 kB / 1.201 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-05/2.947, allocations: 28.84 kB / 1.201 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/2.947, allocations: 8 kB / 1.201 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/2.948, allocations: 2.584 MB / 1.203 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.948, allocations: 0 / 1.203 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008967/2.949, allocations: 0.7011 MB / 1.204 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001342/2.95, allocations: 1.314 MB / 1.205 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/2.951, allocations: 180.3 kB / 1.205 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/2.951, allocations: 0 / 1.205 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/2.951, allocations: 24.09 kB / 1.205 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/2.951, allocations: 23.97 kB / 1.206 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/2.952, allocations: 35.98 kB / 1.206 GB, free: 64.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003915/2.952, allocations: 346.8 kB / 1.206 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002462/2.954, allocations: 435.7 kB / 1.206 GB, free: 64.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002464/2.957, allocations: 1.182 MB / 1.207 GB, free: 62.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001033/2.958, allocations: 487.1 kB / 1.208 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/2.958, allocations: 1.812 kB / 1.208 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/2.959, allocations: 405.5 kB / 1.208 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/2.96, allocations: 234.2 kB / 1.209 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/2.962, allocations: 0.8876 MB / 1.209 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008853/2.963, allocations: 1.074 MB / 1.21 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/2.963, allocations: 0 / 1.21 GB, free: 59.85 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)