Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",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.002089/0.002089, allocations: 190.2 kB / 7.802 MB, free: 2.504 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.587/1.587, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.000943/0.0009426, allocations: 96.28 kB / 261.4 MB, free: 13.63 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.1824/0.1824, allocations: 43.49 MB / 352.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2192/0.4016, allocations: 64.98 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.7231, allocations: 58.83 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.8629, allocations: 104 MB / 0.5671 GB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.8632, allocations: 75.47 kB / 0.5671 GB, free: 10.81 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.5229/1.386, allocations: 87.7 MB / 0.6528 GB, free: 105.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.386, allocations: 11.5 kB / 0.6528 GB, free: 105.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/1.397, allocations: 1.977 MB / 0.6547 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/1.412, allocations: 5.241 MB / 0.6598 GB, free: 104.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003716/1.412, allocations: 142.8 kB / 0.66 GB, free: 104.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/1.414, allocations: 255.6 kB / 0.6602 GB, free: 104.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01284/1.427, allocations: 6.383 MB / 0.6664 GB, free: 104.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/1.446, allocations: 9.665 MB / 0.6759 GB, free: 101.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003263/1.446, allocations: 71.97 kB / 0.676 GB, free: 101.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001635/1.448, allocations: 30.97 kB / 0.676 GB, free: 101.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/1.449, allocations: 1.11 MB / 0.6771 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05833/1.508, allocations: 48.07 MB / 0.724 GB, free: 63.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/1.511, allocations: 1.909 MB / 0.7259 GB, free: 62.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/1.513, allocations: 1.054 MB / 0.7269 GB, free: 62.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/1.525, allocations: 5.186 MB / 0.732 GB, free: 58.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.525, allocations: 50.66 kB / 0.732 GB, free: 58.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=148): time 5.631e-06/1.525, allocations: 0 / 0.732 GB, free: 58.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.02154/1.546, allocations: 7.971 MB / 0.7398 GB, free: 54.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/1.546, allocations: 194.7 kB / 0.74 GB, free: 54.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007879/1.554, allocations: 3.122 MB / 0.743 GB, free: 52.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.554, allocations: 25.7 kB / 0.7431 GB, free: 52.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002094/1.556, allocations: 3.035 MB / 0.746 GB, free: 50.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006405/1.557, allocations: 0.6183 MB / 0.7466 GB, free: 49.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000454/1.557, allocations: 0 / 0.7466 GB, free: 49.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005002/1.558, allocations: 0.5622 MB / 0.7472 GB, free: 49.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.56, allocations: 1.531 MB / 0.7487 GB, free: 47.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00398/1.564, allocations: 5.452 MB / 0.754 GB, free: 40.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/1.568, allocations: 2.919 MB / 0.7568 GB, free: 37.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.285e-05/1.568, allocations: 40 kB / 0.7569 GB, free: 37.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.008711/1.577, allocations: 6.008 MB / 0.7628 GB, free: 32.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.577, allocations: 4 kB / 0.7628 GB, free: 32.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/1.577, allocations: 144.8 kB / 0.7629 GB, free: 32.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/1.577, allocations: 208 kB / 0.7631 GB, free: 32.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/1.581, allocations: 1.48 MB / 0.7645 GB, free: 30.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/1.581, allocations: 280.8 kB / 0.7648 GB, free: 30.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/1.587, allocations: 243.8 kB / 0.765 GB, free: 30.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007936/1.587, allocations: 382.5 kB / 0.7654 GB, free: 30.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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 (787): * Single equations (assignments): 784 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008816/1.588, allocations: 464.2 kB / 0.7658 GB, free: 29.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009256/1.589, allocations: 324 kB / 0.7662 GB, free: 29.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/1.591, allocations: 1.232 MB / 0.7674 GB, free: 28.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/1.591, allocations: 16.52 kB / 0.7674 GB, free: 28.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.591, allocations: 0 / 0.7674 GB, free: 28.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/1.591, allocations: 10.7 kB / 0.7674 GB, free: 28.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008764/1.6, allocations: 4.812 MB / 0.7721 GB, free: 24.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.6, allocations: 16 kB / 0.7721 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.601, allocations: 282.6 kB / 0.7724 GB, free: 23.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.731e-05/1.601, allocations: 24 kB / 0.7724 GB, free: 23.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/1.602, allocations: 29.41 kB / 0.7724 GB, free: 23.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.666e-05/1.602, allocations: 35.77 kB / 0.7725 GB, free: 23.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/1.602, allocations: 27.88 kB / 0.7725 GB, free: 23.67 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003936/1.606, allocations: 5.068 MB / 0.7774 GB, free: 18.17 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004537/1.61, allocations: 6.287 MB / 0.7836 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.611, allocations: 0.4927 MB / 0.784 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/1.612, allocations: 28.12 kB / 0.7841 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.613, allocations: 62.53 kB / 0.7841 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.613, allocations: 135 kB / 0.7843 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.941e-05/1.613, allocations: 73.58 kB / 0.7843 GB, free: 10.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003781/1.617, allocations: 2.061 MB / 0.7863 GB, free: 9.039 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007344/1.624, allocations: 0.7793 MB / 0.7871 GB, free: 8.262 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 143 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006259/1.625, allocations: 186.6 kB / 0.7873 GB, free: 8.078 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006507/1.631, allocations: 3.493 MB / 0.7907 GB, free: 4.895 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/1.632, allocations: 4 kB / 0.7907 GB, free: 4.891 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009635/1.632, allocations: 0.7111 MB / 0.7914 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.635, allocations: 356.2 kB / 0.7917 GB, free: 3.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/1.651, allocations: 7.201 MB / 0.7988 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005437/1.656, allocations: 3.558 MB / 0.8022 GB, free: 9.066 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/1.656, allocations: 0 / 0.8022 GB, free: 9.066 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1)