Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",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 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 190.9 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 95.12 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1891/0.1891, allocations: 43.48 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2171/0.4063, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.732, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.8702, allocations: 95.85 MB / 0.5591 GB, free: 3.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.8705, allocations: 79.95 kB / 0.5592 GB, free: 2.969 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.1323/1.003, allocations: 48.32 MB / 0.6063 GB, free: 2.148 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.876e-05/1.003, allocations: 15.94 kB / 0.6064 GB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007692/1.011, allocations: 1.412 MB / 0.6077 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/1.015, allocations: 1.377 MB / 0.6091 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/1.015, allocations: 76 kB / 0.6092 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/1.017, allocations: 136 kB / 0.6093 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007848/1.025, allocations: 3.804 MB / 0.613 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/1.037, allocations: 6.154 MB / 0.619 GB, free: 4.359 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/1.037, allocations: 43.53 kB / 0.6191 GB, free: 4.316 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008712/1.038, allocations: 24 kB / 0.6191 GB, free: 4.293 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001067/1.039, allocations: 0.7381 MB / 0.6198 GB, free: 3.555 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2421/1.281, allocations: 30.76 MB / 0.6498 GB, free: 159 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/1.283, allocations: 2.022 MB / 0.6518 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009764/1.284, allocations: 0.9825 MB / 0.6528 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.686e-05/1.285, allocations: 44.94 kB / 0.6528 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/1.285, allocations: 47.2 kB / 0.6529 GB, free: 158.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 3.466e-06/1.285, allocations: 2.062 kB / 0.6529 GB, free: 158.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.02046/1.305, allocations: 9.698 MB / 0.6623 GB, free: 156.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/1.305, allocations: 145.4 kB / 0.6625 GB, free: 156.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/1.308, allocations: 2.045 MB / 0.6645 GB, free: 156.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.308, allocations: 25.7 kB / 0.6645 GB, free: 156 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009849/1.309, allocations: 2.029 MB / 0.6665 GB, free: 154.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/1.31, allocations: 465.9 kB / 0.6669 GB, free: 154.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.31, allocations: 0 / 0.6669 GB, free: 154.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003064/1.31, allocations: 0.5361 MB / 0.6674 GB, free: 154.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/1.312, allocations: 1.388 MB / 0.6688 GB, free: 154.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/1.315, allocations: 4.278 MB / 0.673 GB, free: 150.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/1.318, allocations: 2.643 MB / 0.6756 GB, free: 149.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.424e-05/1.318, allocations: 30.59 kB / 0.6756 GB, free: 149.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.008193/1.327, allocations: 5.433 MB / 0.6809 GB, free: 148.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.327, allocations: 7.062 kB / 0.6809 GB, free: 148.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.864e-05/1.327, allocations: 104.9 kB / 0.681 GB, free: 148.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/1.328, allocations: 0.532 MB / 0.6815 GB, free: 148.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003555/1.332, allocations: 1.064 MB / 0.6826 GB, free: 148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/1.338, allocations: 3.737 MB / 0.6862 GB, free: 146 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/1.342, allocations: 138.3 kB / 0.6863 GB, free: 145.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007096/1.342, allocations: 302.9 kB / 0.6866 GB, free: 145.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (563): * Single equations (assignments): 559 * Array equations: 3 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000741/1.343, allocations: 364.5 kB / 0.687 GB, free: 145.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/1.344, allocations: 204 kB / 0.6872 GB, free: 145.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/1.348, allocations: 1.756 MB / 0.6889 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/1.348, allocations: 9.844 kB / 0.6889 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.348, allocations: 1.812 kB / 0.6889 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.348, allocations: 7.547 kB / 0.6889 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009581/1.357, allocations: 4.463 MB / 0.6933 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.357, allocations: 1.812 kB / 0.6933 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/1.358, allocations: 175.1 kB / 0.6934 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/1.36, allocations: 376.9 kB / 0.6938 GB, free: 143.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-05/1.36, allocations: 10.7 kB / 0.6938 GB, free: 143.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/1.365, allocations: 3.218 MB / 0.6969 GB, free: 140.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.365, allocations: 0 / 0.6969 GB, free: 140.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005018/1.37, allocations: 3.703 MB / 0.7006 GB, free: 137.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006229/1.376, allocations: 5.239 MB / 0.7057 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/1.377, allocations: 426.2 kB / 0.7061 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/1.377, allocations: 0 / 0.7061 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/1.378, allocations: 26.12 kB / 0.7061 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.378, allocations: 65.23 kB / 0.7062 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/1.378, allocations: 39.66 kB / 0.7062 GB, free: 132.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002021/1.38, allocations: 1.342 MB / 0.7075 GB, free: 131.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004696/1.385, allocations: 0.5392 MB / 0.708 GB, free: 130.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 3 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004781/1.385, allocations: 146.3 kB / 0.7082 GB, free: 130.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004733/1.39, allocations: 3.341 MB / 0.7114 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.39, allocations: 0 / 0.7114 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.391, allocations: 0.9789 MB / 0.7124 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/1.392, allocations: 149.8 kB / 0.7125 GB, free: 126.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009408/1.401, allocations: 4.674 MB / 0.7171 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/1.405, allocations: 2.441 MB / 0.7195 GB, free: 120.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/1.405, allocations: 0 / 0.7195 GB, free: 120.3 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1)