Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.0009768/0.0009768, allocations: 178.6 kB / 8.519 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.0009147/0.0009148, allocations: 78.38 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1611/0.1611, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1693/0.3304, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.4225, allocations: 61.92 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/0.6767, allocations: 105.8 MB / 0.5975 GB, free: 6.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.677, allocations: 75.45 kB / 0.5976 GB, free: 6.781 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.2002/0.8772, allocations: 80 MB / 0.6757 GB, free: 6.035 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.8772, allocations: 15.94 kB / 0.6758 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.8903, allocations: 2.72 MB / 0.6784 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/0.8952, allocations: 2.293 MB / 0.6806 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.8953, allocations: 128 kB / 0.6808 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006424/0.8959, allocations: 227.9 kB / 0.681 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008972/0.9049, allocations: 6.588 MB / 0.6874 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.9173, allocations: 9.846 MB / 0.697 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-05/0.9175, allocations: 51.47 kB / 0.6971 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000504/0.918, allocations: 28 kB / 0.6971 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/0.9191, allocations: 1.17 MB / 0.6983 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/1.078, allocations: 45.49 MB / 0.7427 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.08, allocations: 2.733 MB / 0.7454 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/1.081, allocations: 1.014 MB / 0.7463 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/1.082, allocations: 20.16 kB / 0.7464 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/1.082, allocations: 52.91 kB / 0.7464 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 3.727e-06/1.082, allocations: 2.344 kB / 0.7464 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=171): time 0.003759/1.085, allocations: 2.434 MB / 0.7488 GB, free: 168.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/1.085, allocations: 173 kB / 0.749 GB, free: 168 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/1.089, allocations: 3.114 MB / 0.752 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/1.089, allocations: 25.7 kB / 0.752 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001201/1.09, allocations: 3.193 MB / 0.7551 GB, free: 166 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/1.09, allocations: 0.6642 MB / 0.7558 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/1.09, allocations: 0 / 0.7558 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003123/1.091, allocations: 0.6573 MB / 0.7564 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/1.093, allocations: 1.918 MB / 0.7583 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/1.096, allocations: 6.349 MB / 0.7645 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/1.1, allocations: 3.599 MB / 0.768 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.961e-05/1.1, allocations: 44.94 kB / 0.7681 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.008489/1.108, allocations: 7.15 MB / 0.775 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.109, allocations: 3.188 kB / 0.775 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/1.109, allocations: 161.7 kB / 0.7752 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/1.109, allocations: 232.1 kB / 0.7754 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004063/1.113, allocations: 1.556 MB / 0.7769 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001605/1.113, allocations: 312.9 kB / 0.7772 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/1.117, allocations: 0.787 MB / 0.778 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/1.117, allocations: 426.7 kB / 0.7784 GB, free: 156.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 730 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (855): * Single equations (assignments): 849 * Array equations: 6 * 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.0005245/1.118, allocations: 485.3 kB / 0.7789 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/1.118, allocations: 302.4 kB / 0.7792 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/1.12, allocations: 1.779 MB / 0.7809 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.655e-05/1.12, allocations: 34.53 kB / 0.7809 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.12, allocations: 0 / 0.7809 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.12, allocations: 7.172 kB / 0.7809 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007542/1.128, allocations: 5.744 MB / 0.7866 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.128, allocations: 6.562 kB / 0.7866 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.129, allocations: 215.4 kB / 0.7868 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/1.129, allocations: 19.48 kB / 0.7868 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-05/1.129, allocations: 20.31 kB / 0.7868 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/1.129, allocations: 11.44 kB / 0.7868 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.129, allocations: 16.28 kB / 0.7868 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002996/1.132, allocations: 3.431 MB / 0.7902 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003104/1.135, allocations: 3.857 MB / 0.7939 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006285/1.136, allocations: 366.1 kB / 0.7943 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/1.136, allocations: 11.5 kB / 0.7943 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.137, allocations: 31.08 kB / 0.7943 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.137, allocations: 84.22 kB / 0.7944 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.138, allocations: 48.25 kB / 0.7945 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002759/1.14, allocations: 2.04 MB / 0.7965 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004937/1.145, allocations: 1 MB / 0.7974 GB, free: 145.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * Array equations: 6 * 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.0003085/1.146, allocations: 145.7 kB / 0.7976 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005225/1.151, allocations: 4.434 MB / 0.8019 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.151, allocations: 4 kB / 0.8019 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.152, allocations: 1.052 MB / 0.8029 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.153, allocations: 260.2 kB / 0.8032 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/1.163, allocations: 7.265 MB / 0.8103 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003576/1.167, allocations: 3.583 MB / 0.8138 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/1.167, allocations: 0 / 0.8138 GB, free: 130.8 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)