Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",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 trunk/package.mo): time 0.001728/0.001728, allocations: 197.8 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 225.5 MB / 234.4 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009274/0.0009274, allocations: 88.95 kB / 286.3 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1785/0.1785, allocations: 45.15 MB / 383.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1938/0.3724, allocations: 69.36 MB / 452.7 MB, free: 76.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08372/0.4561, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2633/0.7195, allocations: 107 MB / 0.6084 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.7197, allocations: 76.95 kB / 0.6084 GB, free: 11.95 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.2564/0.9761, allocations: 92.97 MB / 0.6992 GB, free: 7.082 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.9762, allocations: 12 kB / 0.6992 GB, free: 7.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/0.9894, allocations: 2.829 MB / 0.702 GB, free: 4.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008421/0.9979, allocations: 3.757 MB / 0.7057 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.998, allocations: 139.9 kB / 0.7058 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008179/0.9989, allocations: 236 kB / 0.706 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01159/1.01, allocations: 7.748 MB / 0.7136 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/1.025, allocations: 10.05 MB / 0.7234 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/1.025, allocations: 27.75 kB / 0.7234 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00053/1.025, allocations: 16 kB / 0.7235 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/1.027, allocations: 1.289 MB / 0.7247 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1766/1.204, allocations: 34.96 MB / 0.7589 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/1.207, allocations: 3.112 MB / 0.7619 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/1.209, allocations: 2.466 MB / 0.7643 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/1.22, allocations: 9.676 MB / 0.7738 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/1.22, allocations: 51.52 kB / 0.7738 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=211): time 3.827e-06/1.22, allocations: 0 / 0.7738 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=232): time 0.02479/1.245, allocations: 15.53 MB / 0.789 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/1.245, allocations: 72.62 kB / 0.789 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/1.248, allocations: 2.512 MB / 0.7915 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.248, allocations: 31.3 kB / 0.7915 GB, free: 180.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009292/1.249, allocations: 2.84 MB / 0.7943 GB, free: 178.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004672/1.25, allocations: 0.8283 MB / 0.7951 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/1.25, allocations: 3.156 kB / 0.7951 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002343/1.25, allocations: 0.5516 MB / 0.7956 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/1.253, allocations: 2.366 MB / 0.798 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003483/1.256, allocations: 5.482 MB / 0.8033 GB, free: 173 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/1.26, allocations: 3.671 MB / 0.8069 GB, free: 171.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-05/1.26, allocations: 33.66 kB / 0.8069 GB, free: 171.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=766) (initialization): time 0.01129/1.271, allocations: 7.983 MB / 0.8147 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.271, allocations: 7.219 kB / 0.8147 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.726e-05/1.271, allocations: 111 kB / 0.8148 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/1.274, allocations: 0.8949 MB / 0.8157 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/1.278, allocations: 1.28 MB / 0.817 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/1.284, allocations: 4.486 MB / 0.8213 GB, free: 167.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/1.287, allocations: 160.3 kB / 0.8215 GB, free: 167.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004999/1.288, allocations: 349.9 kB / 0.8218 GB, free: 167.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 35 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (705): * Single equations (assignments): 698 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000572/1.289, allocations: 390.2 kB / 0.8222 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/1.289, allocations: 272.4 kB / 0.8225 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007015/1.296, allocations: 4.735 MB / 0.8271 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.686e-05/1.296, allocations: 39.33 kB / 0.8271 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.296, allocations: 4 kB / 0.8271 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.296, allocations: 10.59 kB / 0.8271 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/1.309, allocations: 9.287 MB / 0.8362 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.31, allocations: 4 kB / 0.8362 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.311, allocations: 331.2 kB / 0.8365 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/1.313, allocations: 0.693 MB / 0.8372 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/1.314, allocations: 8 kB / 0.8372 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004335/1.318, allocations: 3.804 MB / 0.8409 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.318, allocations: 4 kB / 0.8409 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008443/1.326, allocations: 7.435 MB / 0.8482 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01093/1.337, allocations: 10.47 MB / 0.8584 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/1.338, allocations: 331.2 kB / 0.8587 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004507/1.338, allocations: 4 kB / 0.8587 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.34, allocations: 68.94 kB / 0.8588 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/1.34, allocations: 107.6 kB / 0.8589 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.34, allocations: 56 kB / 0.859 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00195/1.342, allocations: 1.657 MB / 0.8606 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004436/1.346, allocations: 0.8858 MB / 0.8614 GB, free: 132 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003633/1.347, allocations: 154 kB / 0.8616 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005839/1.353, allocations: 5.551 MB / 0.867 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.353, allocations: 1.969 kB / 0.867 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/1.355, allocations: 2.033 MB / 0.869 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009777/1.356, allocations: 234.1 kB / 0.8692 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.367, allocations: 8.218 MB / 0.8772 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003954/1.371, allocations: 3.723 MB / 0.8809 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/1.371, allocations: 0 / 0.8809 GB, free: 114.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)