Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.006524/0.006525, allocations: 185.5 kB / 7.458 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.432/2.432, allocations: 221.4 MB / 229.3 MB, free: 3.047 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.001629/0.001629, allocations: 93.42 kB / 280.1 MB, free: 1.293 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.006686/0.006686, allocations: 0.5452 MB / 331.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5192/0.526, allocations: 56.69 MB / 388.1 MB, free: 76.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.7065, allocations: 50.57 MB / 438.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7311/1.438, allocations: 75.69 MB / 0.5023 GB, free: 4.746 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00057/1.438, allocations: 67.22 kB / 0.5024 GB, free: 4.711 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.01389/1.452, allocations: 2.471 MB / 0.5048 GB, free: 2.676 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001456/1.453, allocations: 8 kB / 0.5048 GB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/1.453, allocations: 7.906 kB / 0.5048 GB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/1.453, allocations: 170.9 kB / 0.505 GB, free: 2.453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/1.453, allocations: 4 kB / 0.505 GB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/1.453, allocations: 8 kB / 0.505 GB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003645/1.454, allocations: 61.64 kB / 0.5051 GB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/1.454, allocations: 80.12 kB / 0.5051 GB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/1.454, allocations: 0 / 0.5051 GB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/1.454, allocations: 0 / 0.5051 GB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/1.454, allocations: 0 / 0.5051 GB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/1.456, allocations: 359 kB / 0.5055 GB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/1.456, allocations: 73.22 kB / 0.5056 GB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/1.456, allocations: 33.03 kB / 0.5056 GB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/1.456, allocations: 4 kB / 0.5056 GB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/1.456, allocations: 33.38 kB / 0.5056 GB, free: 1.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 6.853e-06/1.456, allocations: 4 kB / 0.5056 GB, free: 1.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001961/1.458, allocations: 0.6077 MB / 0.5062 GB, free: 1.219 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/1.458, allocations: 55.41 kB / 0.5063 GB, free: 1.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.458, allocations: 105 kB / 0.5064 GB, free: 1.047 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/1.459, allocations: 25.7 kB / 0.5064 GB, free: 1.016 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/1.459, allocations: 107.3 kB / 0.5065 GB, free: 0.9102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/1.459, allocations: 53.95 kB / 0.5065 GB, free: 0.8633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/1.459, allocations: 0 / 0.5065 GB, free: 0.8633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/1.459, allocations: 325 kB / 0.5069 GB, free: 0.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/1.459, allocations: 25.31 kB / 0.5069 GB, free: 0.5273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/1.459, allocations: 54.16 kB / 0.5069 GB, free: 492 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/1.459, allocations: 42.02 kB / 0.507 GB, free: 464 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.459, allocations: 4 kB / 0.507 GB, free: 460 kB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005303/1.46, allocations: 143.6 kB / 0.5071 GB, free: 336 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/1.46, allocations: 4 kB / 0.5071 GB, free: 332 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/1.46, allocations: 3.984 kB / 0.5071 GB, free: 328 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/1.46, allocations: 28.34 kB / 0.5071 GB, free: 300 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/1.461, allocations: 27.92 kB / 0.5072 GB, free: 272 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/1.464, allocations: 1.378 MB / 0.5085 GB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/1.464, allocations: 4 kB / 0.5085 GB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/1.464, allocations: 4 kB / 0.5085 GB, free: 14.83 MB / 330.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 (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.00025/1.464, allocations: 112.9 kB / 0.5086 GB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/1.464, allocations: 11.81 kB / 0.5086 GB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.499e-05/1.464, allocations: 17.69 kB / 0.5087 GB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.464, allocations: 0 / 0.5087 GB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/1.464, allocations: 0 / 0.5087 GB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.464, allocations: 0 / 0.5087 GB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/1.466, allocations: 0.4957 MB / 0.5091 GB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/1.466, allocations: 3.984 kB / 0.5092 GB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/1.467, allocations: 24 kB / 0.5092 GB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/1.467, allocations: 19.53 kB / 0.5092 GB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/1.467, allocations: 3.25 kB / 0.5092 GB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/1.469, allocations: 1.22 MB / 0.5104 GB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.469, allocations: 4.156 kB / 0.5104 GB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009312/1.47, allocations: 319.2 kB / 0.5107 GB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001443/1.472, allocations: 0.733 MB / 0.5114 GB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/1.472, allocations: 85.02 kB / 0.5115 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/1.472, allocations: 3.984 kB / 0.5115 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/1.472, allocations: 4.375 kB / 0.5115 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/1.472, allocations: 7.188 kB / 0.5115 GB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.472, allocations: 11.98 kB / 0.5115 GB, free: 11.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001348/1.472, allocations: 87.03 kB / 0.5116 GB, free: 11.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001928/1.474, allocations: 31.91 kB / 0.5116 GB, free: 11.57 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.0003351/1.475, allocations: 99.25 kB / 0.5117 GB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008329/1.475, allocations: 188.8 kB / 0.5119 GB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.475, allocations: 0 / 0.5119 GB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/1.476, allocations: 158.7 kB / 0.5121 GB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/1.477, allocations: 15.34 kB / 0.5121 GB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/1.478, allocations: 292.1 kB / 0.5124 GB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.479, allocations: 0.727 MB / 0.5131 GB, free: 10.08 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/1.479, allocations: 0 / 0.5131 GB, free: 10.08 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)