Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.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.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",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.00179/0.00179, allocations: 205.5 kB / 8.544 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001083, allocations: 91.06 kB / 286.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 45.14 MB / 383.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2891/0.5089, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.6367, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/1.016, allocations: 87.95 MB / 0.5898 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.016, allocations: 66.06 kB / 0.5898 GB, free: 14.81 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.04665/1.063, allocations: 19.52 MB / 0.6089 GB, free: 14.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.063, allocations: 8 kB / 0.6089 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/1.063, allocations: 82.78 kB / 0.609 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/1.063, allocations: 347.3 kB / 0.6093 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/1.063, allocations: 11.92 kB / 0.6093 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/1.063, allocations: 4 kB / 0.6093 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007306/1.064, allocations: 448.7 kB / 0.6097 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008748/1.065, allocations: 0.722 MB / 0.6104 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.065, allocations: 0 / 0.6104 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/1.065, allocations: 8 kB / 0.6105 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/1.065, allocations: 43.97 kB / 0.6105 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/1.067, allocations: 0.6094 MB / 0.6111 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/1.067, allocations: 0.8843 MB / 0.612 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/1.068, allocations: 0.6091 MB / 0.6125 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/1.068, allocations: 8 kB / 0.6126 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/1.068, allocations: 66.28 kB / 0.6126 GB, free: 9.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.236e-06/1.068, allocations: 0 / 0.6126 GB, free: 9.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.002051/1.07, allocations: 1.184 MB / 0.6138 GB, free: 8.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000242/1.071, allocations: 0.6436 MB / 0.6144 GB, free: 7.969 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008336/1.071, allocations: 0.644 MB / 0.615 GB, free: 7.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/1.071, allocations: 29.7 kB / 0.6151 GB, free: 7.375 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/1.072, allocations: 161.8 kB / 0.6152 GB, free: 7.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/1.072, allocations: 308.7 kB / 0.6155 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/1.072, allocations: 0 / 0.6155 GB, free: 6.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/1.072, allocations: 347.4 kB / 0.6158 GB, free: 6.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/1.073, allocations: 441.3 kB / 0.6163 GB, free: 6.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/1.073, allocations: 0.6043 MB / 0.6169 GB, free: 5.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/1.074, allocations: 0.5161 MB / 0.6174 GB, free: 5.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.074, allocations: 0 / 0.6174 GB, free: 5.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001727/1.076, allocations: 1.183 MB / 0.6185 GB, free: 3.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.076, allocations: 4 kB / 0.6185 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.076, allocations: 12 kB / 0.6185 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.076, allocations: 11.91 kB / 0.6185 GB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-06/1.076, allocations: 7.984 kB / 0.6185 GB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.076, allocations: 11.94 kB / 0.6186 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/1.076, allocations: 39.44 kB / 0.6186 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.076, allocations: 76.08 kB / 0.6187 GB, free: 3.773 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 0 * Array equations: 24 * 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.0001237/1.076, allocations: 116.9 kB / 0.6188 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/1.077, allocations: 94.09 kB / 0.6189 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/1.077, allocations: 89.39 kB / 0.619 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000154/1.077, allocations: 51.95 kB / 0.619 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.077, allocations: 8 kB / 0.619 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/1.077, allocations: 7.984 kB / 0.619 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/1.078, allocations: 0.4954 MB / 0.6195 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/1.078, allocations: 4 kB / 0.6195 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/1.078, allocations: 11.94 kB / 0.6195 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.078, allocations: 15.94 kB / 0.6195 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/1.078, allocations: 27.36 kB / 0.6196 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/1.078, allocations: 8 kB / 0.6196 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.078, allocations: 7.938 kB / 0.6196 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001942/1.08, allocations: 1.608 MB / 0.6211 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002074/1.082, allocations: 1.994 MB / 0.6231 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/1.082, allocations: 171.7 kB / 0.6233 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/1.082, allocations: 11.91 kB / 0.6233 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/1.082, allocations: 4 kB / 0.6233 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/1.083, allocations: 47.31 kB / 0.6233 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/1.083, allocations: 71.22 kB / 0.6234 GB, free: 14.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005773/1.083, allocations: 0.5204 MB / 0.6239 GB, free: 14.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001161/1.084, allocations: 44 kB / 0.6239 GB, free: 14.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 0 * Array equations: 24 * 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.0003392/1.085, allocations: 127 kB / 0.6241 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/1.086, allocations: 0.7977 MB / 0.6248 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.086, allocations: 3.938 kB / 0.6248 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005794/1.086, allocations: 447.3 kB / 0.6253 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/1.087, allocations: 31.91 kB / 0.6253 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/1.089, allocations: 1.519 MB / 0.6268 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009914/1.09, allocations: 1.118 MB / 0.6279 GB, free: 10.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.103e-06/1.09, allocations: 0 / 0.6279 GB, free: 10.2 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)