Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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 trunk/package.mo): time 0.001355/0.001355, allocations: 198.1 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009979/0.0009984, allocations: 89.14 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1783/0.1783, allocations: 45.14 MB / 383.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2137/0.392, allocations: 69.38 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.4785, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9283/1.407, allocations: 0.4949 GB / 0.9988 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/1.407, allocations: 97.89 kB / 0.9988 GB, free: 153.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.6275/2.035, allocations: 237.1 MB / 1.23 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/2.035, allocations: 7.125 kB / 1.23 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/2.036, allocations: 169.2 kB / 1.231 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/2.037, allocations: 0.5043 MB / 1.231 GB, free: 113 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/2.037, allocations: 14.28 kB / 1.231 GB, free: 113 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/2.037, allocations: 23.25 kB / 1.231 GB, free: 113 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006995/2.038, allocations: 433.4 kB / 1.231 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/2.039, allocations: 0.5491 MB / 1.232 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/2.039, allocations: 7.656 kB / 1.232 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/2.039, allocations: 3.719 kB / 1.232 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/2.039, allocations: 10.97 kB / 1.232 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/2.042, allocations: 2.63 MB / 1.235 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/2.042, allocations: 216.5 kB / 1.235 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/2.043, allocations: 121.9 kB / 1.235 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/2.043, allocations: 444.1 kB / 1.235 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/2.043, allocations: 38.02 kB / 1.235 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/2.043, allocations: 0 / 1.235 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.002503/2.046, allocations: 0.6872 MB / 1.236 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/2.046, allocations: 158.4 kB / 1.236 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/2.046, allocations: 386.6 kB / 1.237 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/2.046, allocations: 26.92 kB / 1.237 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/2.046, allocations: 261.9 kB / 1.237 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.907e-05/2.046, allocations: 108.4 kB / 1.237 GB, free: 109 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/2.046, allocations: 0 / 1.237 GB, free: 109 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/2.047, allocations: 356.7 kB / 1.237 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/2.047, allocations: 128.1 kB / 1.237 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/2.047, allocations: 300.3 kB / 1.238 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/2.049, allocations: 0.5094 MB / 1.238 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/2.049, allocations: 0 / 1.238 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0025/2.052, allocations: 0.8358 MB / 1.239 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/2.052, allocations: 4.578 kB / 1.239 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/2.052, allocations: 5.938 kB / 1.239 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/2.052, allocations: 58.36 kB / 1.239 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/2.052, allocations: 120.2 kB / 1.239 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005274/2.053, allocations: 0.6145 MB / 1.24 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/2.053, allocations: 45.77 kB / 1.24 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.6e-05/2.053, allocations: 53.78 kB / 1.24 GB, free: 107.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001387/2.054, allocations: 121.5 kB / 1.24 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/2.054, allocations: 57.59 kB / 1.24 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/2.056, allocations: 1.425 MB / 1.241 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/2.056, allocations: 6.656 kB / 1.241 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/2.056, allocations: 0 / 1.241 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/2.056, allocations: 1.594 kB / 1.241 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/2.058, allocations: 1.161 MB / 1.243 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/2.058, allocations: 5.094 kB / 1.243 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/2.059, allocations: 50 kB / 1.243 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/2.059, allocations: 46.98 kB / 1.243 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/2.059, allocations: 11.27 kB / 1.243 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004347/2.059, allocations: 0.6132 MB / 1.243 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/2.059, allocations: 2.031 kB / 1.243 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001211/2.061, allocations: 0.6548 MB / 1.244 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001373/2.062, allocations: 1.098 MB / 1.245 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/2.062, allocations: 146.3 kB / 1.245 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/2.062, allocations: 3.75 kB / 1.245 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/2.063, allocations: 27.97 kB / 1.245 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/2.063, allocations: 23.34 kB / 1.245 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/2.063, allocations: 20.22 kB / 1.245 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003867/2.063, allocations: 319.9 kB / 1.246 GB, free: 104 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002008/2.065, allocations: 480.3 kB / 1.246 GB, free: 103.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002129/2.067, allocations: 1.306 MB / 1.247 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006655/2.068, allocations: 328.8 kB / 1.248 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/2.068, allocations: 1.219 kB / 1.248 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/2.068, allocations: 130.2 kB / 1.248 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/2.069, allocations: 244.4 kB / 1.248 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/2.071, allocations: 0.6111 MB / 1.249 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000834/2.071, allocations: 1.026 MB / 1.25 GB, free: 102 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/2.071, allocations: 0 / 1.25 GB, free: 102 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)