Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",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.007781/0.007781, allocations: 177.9 kB / 7.455 MB, free: 2.516 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.508/2.508, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.001554/0.001554, allocations: 98.44 kB / 280.1 MB, free: 1.25 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.003699/0.0037, allocations: 0.5525 MB / 331.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4904/0.4942, allocations: 56.68 MB / 388.1 MB, free: 76.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.7264, allocations: 50.57 MB / 438.7 MB, free: 25.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.763/1.49, allocations: 75.77 MB / 0.5024 GB, free: 4.477 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005424/1.49, allocations: 67.91 kB / 0.5025 GB, free: 4.441 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.01463/1.505, allocations: 3.008 MB / 0.5054 GB, free: 2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.446e-05/1.505, allocations: 12 kB / 0.5054 GB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/1.505, allocations: 7.906 kB / 0.5054 GB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/1.505, allocations: 181.4 kB / 0.5056 GB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/1.506, allocations: 4 kB / 0.5056 GB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/1.506, allocations: 4 kB / 0.5056 GB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002801/1.506, allocations: 55.95 kB / 0.5057 GB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/1.506, allocations: 79.92 kB / 0.5057 GB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/1.506, allocations: 4 kB / 0.5057 GB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/1.507, allocations: 4 kB / 0.5058 GB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.39e-05/1.507, allocations: 3.984 kB / 0.5058 GB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/1.508, allocations: 356.7 kB / 0.5061 GB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/1.508, allocations: 78.7 kB / 0.5062 GB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/1.508, allocations: 28.17 kB / 0.5062 GB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/1.508, allocations: 0 / 0.5062 GB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.508, allocations: 39.16 kB / 0.5062 GB, free: 1.172 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 4.098e-06/1.508, allocations: 0 / 0.5062 GB, free: 1.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.002098/1.511, allocations: 0.6178 MB / 0.5068 GB, free: 0.5273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/1.511, allocations: 55.41 kB / 0.5069 GB, free: 472 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/1.511, allocations: 104.3 kB / 0.507 GB, free: 364 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/1.511, allocations: 25.7 kB / 0.507 GB, free: 332 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.511, allocations: 103 kB / 0.5071 GB, free: 228 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/1.511, allocations: 57.5 kB / 0.5072 GB, free: 176 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/1.511, allocations: 0 / 0.5072 GB, free: 176 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003834/1.512, allocations: 325.1 kB / 0.5075 GB, free: 15.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/1.512, allocations: 30 kB / 0.5075 GB, free: 15.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/1.512, allocations: 57.08 kB / 0.5076 GB, free: 15.78 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.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.513, allocations: 269.7 kB / 0.5078 GB, free: 15.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.513, allocations: 0 / 0.5078 GB, free: 15.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003825/1.513, allocations: 122.3 kB / 0.5079 GB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.513, allocations: 8 kB / 0.5079 GB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.513, allocations: 7.984 kB / 0.5079 GB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.513, allocations: 0 / 0.5079 GB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/1.514, allocations: 31.98 kB / 0.508 GB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.514, allocations: 11.88 kB / 0.508 GB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/1.514, allocations: 4.031 kB / 0.508 GB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/1.514, allocations: 7.812 kB / 0.508 GB, free: 15.34 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: mass2.v = $START.mass2.v mass1.a = $START.mass1.a 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 (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001925/1.514, allocations: 112.9 kB / 0.5081 GB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/1.514, allocations: 7.906 kB / 0.5081 GB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.514, allocations: 11.88 kB / 0.5081 GB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.514, allocations: 4 kB / 0.5081 GB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.514, allocations: 0 / 0.5081 GB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.514, allocations: 0 / 0.5081 GB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/1.516, allocations: 0.5451 MB / 0.5087 GB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.516, allocations: 0 / 0.5087 GB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/1.516, allocations: 39.14 kB / 0.5087 GB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/1.517, allocations: 24.19 kB / 0.5087 GB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/1.517, allocations: 0 / 0.5087 GB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/1.52, allocations: 1.218 MB / 0.5099 GB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/1.52, allocations: 0 / 0.5099 GB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001144/1.521, allocations: 319.8 kB / 0.5102 GB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001172/1.522, allocations: 0.7175 MB / 0.5109 GB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/1.522, allocations: 88.27 kB / 0.511 GB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/1.522, allocations: 4 kB / 0.511 GB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/1.523, allocations: 11.83 kB / 0.511 GB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/1.523, allocations: 11.94 kB / 0.511 GB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/1.523, allocations: 4 kB / 0.511 GB, free: 12.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001256/1.523, allocations: 97.83 kB / 0.5111 GB, free: 12.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001717/1.525, allocations: 24 kB / 0.5112 GB, free: 12.01 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.0004203/1.525, allocations: 95.25 kB / 0.5112 GB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005657/1.526, allocations: 89.08 kB / 0.5113 GB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.526, allocations: 0 / 0.5113 GB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/1.526, allocations: 155.7 kB / 0.5115 GB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/1.527, allocations: 15.61 kB / 0.5115 GB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/1.528, allocations: 284.7 kB / 0.5118 GB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000814/1.529, allocations: 0.7274 MB / 0.5125 GB, free: 10.64 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/1.529, allocations: 0 / 0.5125 GB, free: 10.64 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)