Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.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) 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(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",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.00108/0.00108, allocations: 194.6 kB / 8.538 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.18/1.18, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000883/0.0008829, allocations: 87.25 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09622/0.09713, allocations: 56.9 MB / 343.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.1847, allocations: 51.47 MB / 394.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2267/0.4115, allocations: 76.32 MB / 471 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.4117, allocations: 72.5 kB / 471.1 MB, free: 14.74 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.003351/0.415, allocations: 1.382 MB / 472.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4151, allocations: 15.5 kB / 472.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.4151, allocations: 10.72 kB / 472.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.4153, allocations: 177.6 kB / 472.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.4153, allocations: 0 / 472.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.4153, allocations: 4 kB / 472.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.966e-05/0.4154, allocations: 37.2 kB / 472.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.4155, allocations: 58.52 kB / 472.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4155, allocations: 4 kB / 472.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4156, allocations: 4 kB / 472.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4156, allocations: 0 / 472.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.4161, allocations: 344.7 kB / 473.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.585e-05/0.4161, allocations: 45.66 kB / 473.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.4162, allocations: 15.77 kB / 473.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.4162, allocations: 7.984 kB / 473.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.898e-06/0.4162, allocations: 33.25 kB / 473.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.4162, allocations: 0.75 kB / 473.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000497/0.4167, allocations: 475.9 kB / 473.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.4167, allocations: 59.34 kB / 473.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.4168, allocations: 106.1 kB / 473.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.4168, allocations: 25.7 kB / 473.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.4168, allocations: 95.5 kB / 474 MB, free: 12.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.4169, allocations: 30.34 kB / 474 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.4169, allocations: 0 / 474 MB, free: 12.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.4169, allocations: 321.5 kB / 474.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.4169, allocations: 19.38 kB / 474.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.417, allocations: 55.03 kB / 474.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.417, allocations: 20.83 kB / 474.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.417, allocations: 0 / 474.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001151/0.4172, allocations: 99.03 kB / 474.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.4172, allocations: 4.094 kB / 474.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4172, allocations: 4 kB / 474.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4172, allocations: 4 kB / 474.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.4173, allocations: 29.77 kB / 474.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4173, allocations: 3.938 kB / 474.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.4174, allocations: 0 / 474.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4174, allocations: 4 kB / 474.5 MB, free: 11.74 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * 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 3.837e-05/0.4174, allocations: 105 kB / 474.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.4174, allocations: 7.906 kB / 474.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.4175, allocations: 17.72 kB / 474.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4175, allocations: 144 / 474.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4175, allocations: 5.234 kB / 474.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4175, allocations: 3.906 kB / 474.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.4178, allocations: 369.7 kB / 475 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4179, allocations: 11.41 kB / 475 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.4179, allocations: 19.94 kB / 475.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.418, allocations: 0 / 475.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.418, allocations: 4 kB / 475.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.418, allocations: 3.047 kB / 475.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.418, allocations: 8.781 kB / 475.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001537/0.4181, allocations: 276.7 kB / 475.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001858/0.4183, allocations: 0.6651 MB / 476 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.4184, allocations: 81.11 kB / 476.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.4184, allocations: 9.906 kB / 476.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.4185, allocations: 4 kB / 476.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.4185, allocations: 4 kB / 476.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.4185, allocations: 10.44 kB / 476.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.086e-05/0.4185, allocations: 86.72 kB / 476.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007999/0.4193, allocations: 12.55 kB / 476.2 MB, free: 10 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * 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 7.978e-05/0.4194, allocations: 98.62 kB / 476.3 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.4195, allocations: 54.08 kB / 476.4 MB, free: 9.863 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4195, allocations: 0 / 476.4 MB, free: 9.863 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.4196, allocations: 23.38 kB / 476.4 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.4198, allocations: 23.84 kB / 476.4 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.4201, allocations: 241.3 kB / 476.7 MB, free: 9.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4203, allocations: 0.7109 MB / 477.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4203, allocations: 0 / 477.4 MB, free: 8.859 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat