Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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) 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(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 179.4 kB / 8.474 MB, free: 1.871 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.335/1.335, allocations: 205.2 MB / 214.1 MB, free: 5.438 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009036/0.0009035, allocations: 90.53 kB / 262.1 MB, free: 5.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1869/0.1878, allocations: 52.96 MB / 315.1 MB, free: 41.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07158/0.2594, allocations: 47.58 MB / 362.6 MB, free: 9.898 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2218/0.4813, allocations: 74.45 MB / 437.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000141/0.4815, allocations: 63.22 kB / 437.1 MB, free: 10.59 MB / 314.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.00332/0.4848, allocations: 1.357 MB / 438.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4848, allocations: 7.719 kB / 438.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.4849, allocations: 9.203 kB / 438.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.485, allocations: 172.8 kB / 438.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.4851, allocations: 3.844 kB / 438.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.4851, allocations: 3.844 kB / 438.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.531e-05/0.4852, allocations: 34.69 kB / 438.7 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.4853, allocations: 64.98 kB / 438.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4853, allocations: 3.844 kB / 438.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4853, allocations: 0 / 438.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4853, allocations: 0 / 438.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.4859, allocations: 345.3 kB / 439.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.486, allocations: 57.97 kB / 439.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.486, allocations: 18.64 kB / 439.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.486, allocations: 0 / 439.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.486, allocations: 30.56 kB / 439.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4861, allocations: 0 / 439.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005822/0.4866, allocations: 479.8 kB / 439.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.735e-05/0.4867, allocations: 56.98 kB / 439.8 MB, free: 9.066 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.346e-05/0.4867, allocations: 106 kB / 439.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.4867, allocations: 25.7 kB / 439.9 MB, free: 8.941 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.4868, allocations: 94.42 kB / 440 MB, free: 8.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.4868, allocations: 33.7 kB / 440 MB, free: 8.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4868, allocations: 0 / 440 MB, free: 8.828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.4869, allocations: 323 kB / 440.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.4869, allocations: 21 kB / 440.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-05/0.487, allocations: 55.89 kB / 440.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.487, allocations: 23.3 kB / 440.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.487, allocations: 0 / 440.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/0.4871, allocations: 102 kB / 440.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4872, allocations: 3.875 kB / 440.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4872, allocations: 3.875 kB / 440.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4872, allocations: 1.547 kB / 440.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.4873, allocations: 26.09 kB / 440.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4873, allocations: 7.844 kB / 440.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.4873, allocations: 0 / 440.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4874, allocations: 5.594 kB / 440.6 MB, free: 8.406 MB / 314.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 5.436e-05/0.4874, allocations: 113.1 kB / 440.7 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.4875, allocations: 3.906 kB / 440.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.4875, allocations: 13.3 kB / 440.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4875, allocations: 0 / 440.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4875, allocations: 0 / 440.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4875, allocations: 3.906 kB / 440.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.4879, allocations: 370.9 kB / 441.1 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4879, allocations: 0 / 441.1 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.488, allocations: 22.05 kB / 441.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.488, allocations: 3.844 kB / 441.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.488, allocations: 3.938 kB / 441.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.488, allocations: 5.156 kB / 441.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.488, allocations: 3.906 kB / 441.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001822/0.4882, allocations: 283.5 kB / 441.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00025/0.4885, allocations: 0.6658 MB / 442 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.4885, allocations: 88.88 kB / 442.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4885, allocations: 9.25 kB / 442.1 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.4886, allocations: 0 / 442.1 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.4886, allocations: 12.5 kB / 442.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4887, allocations: 5.609 kB / 442.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.423e-05/0.4887, allocations: 82.88 kB / 442.2 MB, free: 6.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007988/0.4895, allocations: 15.38 kB / 442.3 MB, free: 6.867 MB / 314.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 9.332e-05/0.4896, allocations: 96.02 kB / 442.4 MB, free: 6.777 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.4897, allocations: 50.61 kB / 442.4 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4897, allocations: 0 / 442.4 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.4897, allocations: 30.72 kB / 442.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.49, allocations: 13.12 kB / 442.4 MB, free: 6.758 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.4904, allocations: 245.8 kB / 442.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.4905, allocations: 0.7165 MB / 443.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4905, allocations: 0 / 443.4 MB, free: 5.844 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat