Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit",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.002902/0.002902, allocations: 183.7 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.71/0.71, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 114.2 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4844/0.4855, allocations: 88.41 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.6749, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.616/5.291, allocations: 1.835 GB / 2.468 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/5.291, allocations: 87.7 kB / 2.468 GB, free: 135.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 5.245/10.54, allocations: 1.432 GB / 3.9 GB, free: 28.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/10.54, allocations: 15.98 kB / 3.9 GB, free: 28.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008778/10.54, allocations: 202.1 kB / 3.9 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/10.54, allocations: 0.9666 MB / 3.901 GB, free: 27.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/10.54, allocations: 93.39 kB / 3.901 GB, free: 27.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/10.54, allocations: 52 kB / 3.902 GB, free: 27.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007423/10.54, allocations: 411.9 kB / 3.902 GB, free: 26.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/10.54, allocations: 0.781 MB / 3.903 GB, free: 26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/10.54, allocations: 11.5 kB / 3.903 GB, free: 25.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/10.54, allocations: 4 kB / 3.903 GB, free: 25.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/10.54, allocations: 27.91 kB / 3.903 GB, free: 25.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/10.55, allocations: 4.856 MB / 3.907 GB, free: 20.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/10.55, allocations: 396.7 kB / 3.908 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/10.55, allocations: 263.3 kB / 3.908 GB, free: 19.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/10.55, allocations: 105.1 kB / 3.908 GB, free: 19.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/10.55, allocations: 46.5 kB / 3.908 GB, free: 19.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.817e-06/10.55, allocations: 0 / 3.908 GB, free: 19.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001291/10.55, allocations: 462.1 kB / 3.909 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/10.55, allocations: 397.5 kB / 3.909 GB, free: 18.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/10.55, allocations: 0.6483 MB / 3.91 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/10.55, allocations: 29.7 kB / 3.91 GB, free: 18.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/10.55, allocations: 384.5 kB / 3.91 GB, free: 17.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/10.55, allocations: 102.4 kB / 3.91 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/10.55, allocations: 4.031 kB / 3.91 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/10.55, allocations: 325.9 kB / 3.91 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/10.55, allocations: 83.97 kB / 3.911 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/10.55, allocations: 345.2 kB / 3.911 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/10.55, allocations: 133.8 kB / 3.911 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/10.55, allocations: 3.906 kB / 3.911 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007792/10.55, allocations: 461.7 kB / 3.911 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003519/10.55, allocations: 1.31 MB / 3.913 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/10.55, allocations: 4 kB / 3.913 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/10.55, allocations: 69.62 kB / 3.913 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/10.55, allocations: 91.88 kB / 3.913 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/10.55, allocations: 2.335 MB / 3.915 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/10.55, allocations: 63.84 kB / 3.915 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/10.55, allocations: 27.91 kB / 3.915 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/10.55, allocations: 4 kB / 3.915 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005133/10.55, allocations: 281.7 kB / 3.916 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/10.55, allocations: 4.094 kB / 3.916 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/10.55, allocations: 69.61 kB / 3.916 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/10.55, allocations: 67.89 kB / 3.916 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/10.56, allocations: 2.783 MB / 3.918 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/10.56, allocations: 63.8 kB / 3.918 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/10.56, allocations: 27.94 kB / 3.918 GB, free: 8.562 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000211/10.56, allocations: 124.3 kB / 3.919 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/10.56, allocations: 98.78 kB / 3.919 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/10.56, allocations: 323.6 kB / 3.919 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/10.56, allocations: 4 kB / 3.919 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/10.56, allocations: 7.984 kB / 3.919 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/10.56, allocations: 7.906 kB / 3.919 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/10.56, allocations: 2.39 MB / 3.921 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/10.56, allocations: 4 kB / 3.921 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/10.56, allocations: 79.89 kB / 3.921 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/10.56, allocations: 58.19 kB / 3.921 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/10.56, allocations: 12 kB / 3.922 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008907/10.56, allocations: 2.312 MB / 3.924 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/10.56, allocations: 11.94 kB / 3.924 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007414/10.56, allocations: 0.9407 MB / 3.925 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001554/10.56, allocations: 1.528 MB / 3.926 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/10.57, allocations: 223.6 kB / 3.926 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/10.57, allocations: 11.98 kB / 3.926 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/10.57, allocations: 63.8 kB / 3.926 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/10.57, allocations: 35.81 kB / 3.927 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/10.57, allocations: 19.98 kB / 3.927 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0007283/10.57, allocations: 0.4991 MB / 3.927 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005973/10.57, allocations: 1.663 MB / 3.929 GB, free: 13.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007301/10.58, allocations: 3.92 MB / 3.932 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002118/10.58, allocations: 0.6668 MB / 3.933 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/10.58, allocations: 0 / 3.933 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000501/10.58, allocations: 185.5 kB / 3.933 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/10.59, allocations: 409.9 kB / 3.934 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/10.59, allocations: 1.319 MB / 3.935 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/10.59, allocations: 1.218 MB / 3.936 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/10.59, allocations: 4 kB / 3.936 GB, free: 5.266 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)