Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",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.009227/0.009227, 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.464/2.464, allocations: 221.4 MB / 229.3 MB, free: 3 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.001217/0.001217, allocations: 100.5 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.005694/0.005694, allocations: 0.5527 MB / 331.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4063/0.412, allocations: 56.69 MB / 388.1 MB, free: 76.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.5992, allocations: 50.56 MB / 438.7 MB, free: 25.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6241/1.223, allocations: 75.73 MB / 0.5024 GB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005145/1.224, allocations: 60.47 kB / 0.5024 GB, free: 4.145 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.01531/1.239, allocations: 2.981 MB / 0.5053 GB, free: 1.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.24, allocations: 8 kB / 0.5053 GB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/1.24, allocations: 11.91 kB / 0.5054 GB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/1.24, allocations: 178.8 kB / 0.5055 GB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/1.24, allocations: 0 / 0.5055 GB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/1.24, allocations: 8 kB / 0.5055 GB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002172/1.24, allocations: 55.97 kB / 0.5056 GB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/1.24, allocations: 81.67 kB / 0.5057 GB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.24, allocations: 0 / 0.5057 GB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/1.24, allocations: 0 / 0.5057 GB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.24, allocations: 4 kB / 0.5057 GB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/1.241, allocations: 354 kB / 0.506 GB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/1.242, allocations: 78.7 kB / 0.5061 GB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/1.242, allocations: 35.73 kB / 0.5061 GB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/1.242, allocations: 0 / 0.5061 GB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.242, allocations: 34.55 kB / 0.5061 GB, free: 0.8906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/1.242, allocations: 0 / 0.5061 GB, free: 0.8906 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001771/1.244, allocations: 0.6122 MB / 0.5067 GB, free: 252 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/1.244, allocations: 51.41 kB / 0.5068 GB, free: 188 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/1.244, allocations: 104.1 kB / 0.5069 GB, free: 84 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/1.244, allocations: 25.7 kB / 0.5069 GB, free: 52 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.244, allocations: 104.5 kB / 0.507 GB, free: 15.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/1.244, allocations: 49.95 kB / 0.5071 GB, free: 15.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/1.244, allocations: 4 kB / 0.5071 GB, free: 15.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002902/1.244, allocations: 326.2 kB / 0.5074 GB, free: 15.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/1.245, allocations: 26.94 kB / 0.5074 GB, free: 15.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/1.245, allocations: 64.89 kB / 0.5075 GB, free: 15.5 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.001247/1.246, allocations: 309.7 kB / 0.5078 GB, free: 15.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.246, allocations: 4 kB / 0.5078 GB, free: 15.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000555/1.247, allocations: 144.6 kB / 0.5079 GB, free: 15.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.247, allocations: 4 kB / 0.5079 GB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.247, allocations: 0 / 0.5079 GB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/1.247, allocations: 30.09 kB / 0.5079 GB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/1.247, allocations: 27.92 kB / 0.508 GB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/1.25, allocations: 1.386 MB / 0.5093 GB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/1.25, allocations: 3.938 kB / 0.5093 GB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/1.25, allocations: 7.984 kB / 0.5093 GB, free: 13.57 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.0002232/1.25, allocations: 109 kB / 0.5094 GB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/1.25, allocations: 14.94 kB / 0.5094 GB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/1.25, allocations: 11.25 kB / 0.5095 GB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.25, allocations: 4 kB / 0.5095 GB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.25, allocations: 4.031 kB / 0.5095 GB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.25, allocations: 0 / 0.5095 GB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.251, allocations: 0.5417 MB / 0.51 GB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.251, allocations: 0 / 0.51 GB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/1.252, allocations: 27.92 kB / 0.51 GB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/1.252, allocations: 19.8 kB / 0.51 GB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.252, allocations: 4.094 kB / 0.51 GB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/1.254, allocations: 1.213 MB / 0.5112 GB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.254, allocations: 8.094 kB / 0.5112 GB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00077/1.255, allocations: 319.1 kB / 0.5115 GB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001102/1.256, allocations: 0.7399 MB / 0.5123 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.256, allocations: 85.02 kB / 0.5123 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/1.256, allocations: 0 / 0.5123 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/1.256, allocations: 0 / 0.5123 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/1.256, allocations: 7.984 kB / 0.5124 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.256, allocations: 8 kB / 0.5124 GB, free: 10.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001193/1.256, allocations: 94.38 kB / 0.5124 GB, free: 10.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001972/1.258, allocations: 28.06 kB / 0.5125 GB, free: 10.25 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.0003225/1.259, allocations: 99.23 kB / 0.5126 GB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000784/1.26, allocations: 190.2 kB / 0.5128 GB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.26, allocations: 0 / 0.5128 GB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/1.26, allocations: 163.2 kB / 0.5129 GB, free: 9.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/1.261, allocations: 24.56 kB / 0.5129 GB, free: 9.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/1.262, allocations: 292.3 kB / 0.5132 GB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007825/1.262, allocations: 0.7271 MB / 0.5139 GB, free: 8.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.835e-05/1.263, allocations: 0 / 0.5139 GB, free: 8.75 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)