Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",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.006728/0.006729, allocations: 180.2 kB / 7.458 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.613/2.613, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001967/0.001967, allocations: 97.05 kB / 280.1 MB, free: 1.312 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.008908/0.008909, allocations: 0.551 MB / 331.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.546/0.555, allocations: 56.69 MB / 388.1 MB, free: 76.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.764, allocations: 50.56 MB / 438.7 MB, free: 25.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7353/1.5, allocations: 75.73 MB / 0.5024 GB, free: 4.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/1.5, allocations: 64.03 kB / 0.5024 GB, free: 4.48 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.009833/1.51, allocations: 2.484 MB / 0.5048 GB, free: 2.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/1.51, allocations: 12 kB / 0.5049 GB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/1.51, allocations: 11.72 kB / 0.5049 GB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/1.51, allocations: 174.9 kB / 0.505 GB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.51, allocations: 4 kB / 0.505 GB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/1.51, allocations: 4 kB / 0.505 GB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001849/1.511, allocations: 57.09 kB / 0.5051 GB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/1.511, allocations: 74.67 kB / 0.5052 GB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.511, allocations: 7.25 kB / 0.5052 GB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/1.511, allocations: 4 kB / 0.5052 GB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.511, allocations: 0 / 0.5052 GB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/1.512, allocations: 357.4 kB / 0.5055 GB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/1.512, allocations: 74.16 kB / 0.5056 GB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/1.512, allocations: 34.55 kB / 0.5056 GB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/1.512, allocations: 0 / 0.5056 GB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/1.512, allocations: 43.06 kB / 0.5057 GB, free: 1.613 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/1.512, allocations: 0 / 0.5057 GB, free: 1.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001329/1.513, allocations: 0.6086 MB / 0.5063 GB, free: 0.9727 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/1.513, allocations: 58.59 kB / 0.5063 GB, free: 0.9062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/1.513, allocations: 100.9 kB / 0.5064 GB, free: 0.8047 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/1.513, allocations: 25.7 kB / 0.5064 GB, free: 0.7734 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/1.513, allocations: 99.39 kB / 0.5065 GB, free: 0.6758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/1.513, allocations: 58.44 kB / 0.5066 GB, free: 0.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/1.514, allocations: 0 / 0.5066 GB, free: 0.625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/1.514, allocations: 321.9 kB / 0.5069 GB, free: 312 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/1.514, allocations: 30.75 kB / 0.5069 GB, free: 292 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/1.514, allocations: 56.19 kB / 0.507 GB, free: 240 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/1.514, allocations: 39.23 kB / 0.507 GB, free: 216 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.514, allocations: 3.938 kB / 0.507 GB, free: 212 kB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002842/1.514, allocations: 125.6 kB / 0.5071 GB, free: 104 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.514, allocations: 4 kB / 0.5071 GB, free: 100 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.514, allocations: 0 / 0.5071 GB, free: 100 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/1.514, allocations: 8.031 kB / 0.5071 GB, free: 92 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/1.515, allocations: 35.92 kB / 0.5072 GB, free: 56 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.515, allocations: 4 kB / 0.5072 GB, free: 52 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/1.515, allocations: 0 / 0.5072 GB, free: 52 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.515, allocations: 12.38 kB / 0.5072 GB, free: 44 kB / 314.7 MB 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.0001506/1.515, allocations: 112.8 kB / 0.5073 GB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/1.515, allocations: 7.906 kB / 0.5073 GB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/1.515, allocations: 15.19 kB / 0.5073 GB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.515, allocations: 0 / 0.5073 GB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.515, allocations: 4 kB / 0.5073 GB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.515, allocations: 4 kB / 0.5073 GB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009293/1.516, allocations: 445.2 kB / 0.5078 GB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.516, allocations: 4.156 kB / 0.5078 GB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/1.516, allocations: 35.8 kB / 0.5078 GB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/1.517, allocations: 20.75 kB / 0.5078 GB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/1.517, allocations: 0 / 0.5078 GB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/1.52, allocations: 1.221 MB / 0.509 GB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.52, allocations: 0 / 0.509 GB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000778/1.52, allocations: 320.5 kB / 0.5093 GB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001173/1.522, allocations: 0.7351 MB / 0.51 GB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/1.522, allocations: 85.02 kB / 0.5101 GB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/1.522, allocations: 0 / 0.5101 GB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/1.522, allocations: 4 kB / 0.5101 GB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/1.522, allocations: 19.27 kB / 0.5101 GB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/1.522, allocations: 4 kB / 0.5101 GB, free: 12.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000105/1.522, allocations: 86.7 kB / 0.5102 GB, free: 12.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001762/1.524, allocations: 24 kB / 0.5102 GB, free: 12.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0002545/1.524, allocations: 99.19 kB / 0.5103 GB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/1.525, allocations: 79.62 kB / 0.5104 GB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.525, allocations: 64 / 0.5104 GB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/1.525, allocations: 155 kB / 0.5106 GB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/1.526, allocations: 23.78 kB / 0.5106 GB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/1.527, allocations: 289.7 kB / 0.5109 GB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007795/1.527, allocations: 0.727 MB / 0.5116 GB, free: 11.46 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/1.527, allocations: 0 / 0.5116 GB, free: 11.46 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)