Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 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(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",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.005565/0.005565, allocations: 184.5 kB / 7.462 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.382/2.382, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001707/0.001707, allocations: 99.44 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.005923/0.005923, allocations: 0.5605 MB / 331.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5494/0.5554, allocations: 56.68 MB / 388.1 MB, free: 76.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.7863, allocations: 50.56 MB / 438.7 MB, free: 25.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7596/1.546, allocations: 75.76 MB / 0.5024 GB, free: 4.531 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/1.547, allocations: 59.78 kB / 0.5025 GB, free: 4.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.01696/1.564, allocations: 3 MB / 0.5054 GB, free: 2.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.382e-05/1.564, allocations: 8 kB / 0.5054 GB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/1.564, allocations: 16.28 kB / 0.5054 GB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/1.564, allocations: 174.9 kB / 0.5056 GB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/1.564, allocations: 0 / 0.5056 GB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/1.564, allocations: 12 kB / 0.5056 GB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002455/1.564, allocations: 60.39 kB / 0.5056 GB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/1.565, allocations: 75.19 kB / 0.5057 GB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.565, allocations: 0 / 0.5057 GB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/1.565, allocations: 3.984 kB / 0.5057 GB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/1.565, allocations: 4 kB / 0.5057 GB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/1.566, allocations: 355.5 kB / 0.5061 GB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/1.566, allocations: 75.14 kB / 0.5061 GB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/1.566, allocations: 35.23 kB / 0.5062 GB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/1.566, allocations: 0 / 0.5062 GB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.566, allocations: 30.56 kB / 0.5062 GB, free: 1.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 6.552e-06/1.566, allocations: 4 kB / 0.5062 GB, free: 1.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.00222/1.569, allocations: 0.6087 MB / 0.5068 GB, free: 0.5898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/1.569, allocations: 54.91 kB / 0.5068 GB, free: 0.5273 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/1.569, allocations: 108.9 kB / 0.5069 GB, free: 428 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/1.569, allocations: 26.55 kB / 0.507 GB, free: 396 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/1.569, allocations: 107.4 kB / 0.5071 GB, free: 288 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/1.569, allocations: 50.27 kB / 0.5071 GB, free: 244 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/1.569, allocations: 0 / 0.5071 GB, free: 244 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002727/1.569, allocations: 326.7 kB / 0.5074 GB, free: 15.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/1.57, allocations: 26.38 kB / 0.5075 GB, free: 15.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/1.57, allocations: 56.72 kB / 0.5075 GB, free: 15.84 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + -0.5 * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.571, allocations: 316.2 kB / 0.5078 GB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.571, allocations: 0 / 0.5078 GB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004234/1.571, allocations: 142.6 kB / 0.508 GB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.571, allocations: 4 kB / 0.508 GB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.571, allocations: 3.984 kB / 0.508 GB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/1.572, allocations: 26.98 kB / 0.508 GB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/1.572, allocations: 31.86 kB / 0.508 GB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/1.574, allocations: 1.379 MB / 0.5094 GB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.574e-05/1.574, allocations: 3.938 kB / 0.5094 GB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/1.574, allocations: 8.062 kB / 0.5094 GB, free: 13.91 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: mass2.v = $START.mass2.v mass1.s = $START.mass1.s Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001889/1.574, allocations: 113 kB / 0.5095 GB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/1.574, allocations: 11.81 kB / 0.5095 GB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/1.575, allocations: 11.62 kB / 0.5095 GB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.575, allocations: 4 kB / 0.5095 GB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.575, allocations: 0 / 0.5095 GB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.575, allocations: 0 / 0.5095 GB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/1.576, allocations: 0.5449 MB / 0.51 GB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.576, allocations: 0 / 0.51 GB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/1.576, allocations: 31.73 kB / 0.5101 GB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/1.576, allocations: 24.19 kB / 0.5101 GB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/1.576, allocations: 4 kB / 0.5101 GB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/1.578, allocations: 1.216 MB / 0.5113 GB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.578, allocations: 0 / 0.5113 GB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006886/1.579, allocations: 319.9 kB / 0.5116 GB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009976/1.58, allocations: 0.7352 MB / 0.5123 GB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.58, allocations: 88.2 kB / 0.5124 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/1.58, allocations: 0 / 0.5124 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.58, allocations: 0 / 0.5124 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/1.58, allocations: 15.97 kB / 0.5124 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/1.58, allocations: 4 kB / 0.5124 GB, free: 10.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.971e-05/1.58, allocations: 95.11 kB / 0.5125 GB, free: 10.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001774/1.582, allocations: 28 kB / 0.5125 GB, free: 10.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0003043/1.582, allocations: 98.94 kB / 0.5126 GB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008152/1.583, allocations: 193.9 kB / 0.5128 GB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.583, allocations: 0 / 0.5128 GB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/1.583, allocations: 156 kB / 0.513 GB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/1.584, allocations: 20.75 kB / 0.513 GB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.585, allocations: 298.9 kB / 0.5133 GB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007162/1.586, allocations: 0.7307 MB / 0.514 GB, free: 9.086 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/1.586, allocations: 0 / 0.514 GB, free: 9.086 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)