Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.006624/0.006624, allocations: 187.2 kB / 7.459 MB, free: 2.512 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.445/2.445, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.002209/0.002209, allocations: 100.8 kB / 280.1 MB, free: 1.289 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.005994/0.005993, allocations: 0.5529 MB / 331.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4722/0.4782, allocations: 56.68 MB / 388.1 MB, free: 76.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.6947, allocations: 50.57 MB / 438.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.709/1.404, allocations: 74.38 MB / 0.5011 GB, free: 5.527 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004114/1.404, allocations: 70.7 kB / 0.5011 GB, free: 5.488 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003286/1.408, allocations: 0.6216 MB / 0.5017 GB, free: 4.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.058e-05/1.408, allocations: 9.156 kB / 0.5017 GB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/1.408, allocations: 11.89 kB / 0.5017 GB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/1.408, allocations: 159.1 kB / 0.5019 GB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/1.408, allocations: 0.9688 kB / 0.5019 GB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.408, allocations: 7.984 kB / 0.5019 GB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001348/1.409, allocations: 15.78 kB / 0.5019 GB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/1.409, allocations: 46.06 kB / 0.502 GB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/1.409, allocations: 4 kB / 0.502 GB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/1.409, allocations: 0 / 0.502 GB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/1.409, allocations: 0 / 0.502 GB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/1.409, allocations: 268.6 kB / 0.5022 GB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/1.41, allocations: 28.17 kB / 0.5023 GB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/1.41, allocations: 15.5 kB / 0.5023 GB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/1.41, allocations: 4 kB / 0.5023 GB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.41, allocations: 38.64 kB / 0.5023 GB, free: 4.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.406e-06/1.41, allocations: 0 / 0.5023 GB, free: 4.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003918/1.41, allocations: 64.72 kB / 0.5024 GB, free: 4.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/1.41, allocations: 54.09 kB / 0.5024 GB, free: 4.109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/1.41, allocations: 89.84 kB / 0.5025 GB, free: 4.016 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.41, allocations: 25.7 kB / 0.5025 GB, free: 3.984 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/1.41, allocations: 87.12 kB / 0.5026 GB, free: 3.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/1.41, allocations: 15.81 kB / 0.5026 GB, free: 3.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.41, allocations: 0 / 0.5026 GB, free: 3.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/1.411, allocations: 318.3 kB / 0.5029 GB, free: 3.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/1.411, allocations: 7.125 kB / 0.5029 GB, free: 3.562 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/1.411, allocations: 25.14 kB / 0.503 GB, free: 3.535 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/1.411, allocations: 4 kB / 0.503 GB, free: 3.531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.411, allocations: 3.938 kB / 0.503 GB, free: 3.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001269/1.411, allocations: 60.19 kB / 0.503 GB, free: 3.469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.411, allocations: 9.094 kB / 0.503 GB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.411, allocations: 0 / 0.503 GB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.411, allocations: 0 / 0.503 GB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/1.411, allocations: 15.98 kB / 0.5031 GB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.411, allocations: 3.938 kB / 0.5031 GB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/1.411, allocations: 3.906 kB / 0.5031 GB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/1.411, allocations: 4 kB / 0.5031 GB, free: 3.434 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.942e-05/1.411, allocations: 108.9 kB / 0.5032 GB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/1.411, allocations: 7.938 kB / 0.5032 GB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/1.411, allocations: 10.75 kB / 0.5032 GB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.411, allocations: 0 / 0.5032 GB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.411, allocations: 0 / 0.5032 GB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.411, allocations: 2.125 kB / 0.5032 GB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/1.412, allocations: 133.4 kB / 0.5033 GB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.412, allocations: 4 kB / 0.5033 GB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/1.412, allocations: 0 / 0.5033 GB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002368/1.412, allocations: 21.03 kB / 0.5033 GB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/1.412, allocations: 3.062 kB / 0.5033 GB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/1.413, allocations: 1.2 MB / 0.5045 GB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.413, allocations: 1.625 kB / 0.5045 GB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001904/1.413, allocations: 166.5 kB / 0.5047 GB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002642/1.414, allocations: 0.5415 MB / 0.5052 GB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/1.414, allocations: 89.38 kB / 0.5053 GB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/1.414, allocations: 0 / 0.5053 GB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/1.414, allocations: 0 / 0.5053 GB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/1.414, allocations: 0 / 0.5053 GB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/1.414, allocations: 4 kB / 0.5053 GB, free: 0.9844 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.166e-05/1.414, allocations: 79.09 kB / 0.5054 GB, free: 0.9102 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009052/1.415, allocations: 11.91 kB / 0.5054 GB, free: 0.8984 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001935/1.415, allocations: 105.3 kB / 0.5055 GB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/1.415, allocations: 23.94 kB / 0.5055 GB, free: 0.7656 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.415, allocations: 0 / 0.5055 GB, free: 0.7656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/1.415, allocations: 109.2 kB / 0.5056 GB, free: 0.6523 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/1.416, allocations: 4 kB / 0.5056 GB, free: 0.6484 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/1.416, allocations: 99.19 kB / 0.5057 GB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/1.417, allocations: 0.6993 MB / 0.5064 GB, free: 15.81 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/1.417, allocations: 4.062 kB / 0.5064 GB, free: 15.8 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)