Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",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.001076/0.001076, allocations: 206.7 kB / 8.544 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.166/1.166, allocations: 225.5 MB / 234.4 MB, free: 3.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00093/0.00093, allocations: 97.19 kB / 286.3 MB, free: 5.148 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1033/0.1042, allocations: 56.91 MB / 343.2 MB, free: 8.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.2007, allocations: 51.47 MB / 394.7 MB, free: 5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.4236, allocations: 76.72 MB / 471.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.4238, allocations: 69.45 kB / 471.5 MB, free: 14.75 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.008102/0.4319, allocations: 3.711 MB / 475.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.432, allocations: 8 kB / 475.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.432, allocations: 23.72 kB / 475.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.4321, allocations: 194.7 kB / 475.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4321, allocations: 4 kB / 475.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.4322, allocations: 16 kB / 475.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002063/0.4324, allocations: 107.3 kB / 475.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.4326, allocations: 196.4 kB / 475.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4327, allocations: 7.906 kB / 475.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.4327, allocations: 0 / 475.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4327, allocations: 4 kB / 475.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.4335, allocations: 0.8209 MB / 476.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.4337, allocations: 127.9 kB / 476.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.4338, allocations: 61.33 kB / 476.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.4338, allocations: 7.906 kB / 476.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.105e-05/0.4338, allocations: 31.59 kB / 476.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.4338, allocations: 0 / 476.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002558/0.4341, allocations: 123.1 kB / 476.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.4341, allocations: 106.8 kB / 477 MB, free: 10.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4342, allocations: 146.1 kB / 477.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.4342, allocations: 29.7 kB / 477.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.4343, allocations: 157.3 kB / 477.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.4343, allocations: 61.16 kB / 477.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.4343, allocations: 0 / 477.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.4344, allocations: 328.3 kB / 477.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.4345, allocations: 43.88 kB / 477.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.4345, allocations: 138.8 kB / 477.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.038e-05/0.4346, allocations: 71.55 kB / 478 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4346, allocations: 0 / 478 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002543/0.4349, allocations: 204.6 kB / 478.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.926e-06/0.4349, allocations: 4 kB / 478.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4349, allocations: 4 kB / 478.2 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.435, allocations: 8 kB / 478.2 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.4352, allocations: 58.98 kB / 478.2 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4352, allocations: 15.27 kB / 478.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.4353, allocations: 23.69 kB / 478.3 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4353, allocations: 11.19 kB / 478.3 MB, free: 9.781 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.292e-05/0.4354, allocations: 116.8 kB / 478.4 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.4355, allocations: 19.19 kB / 478.4 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.4355, allocations: 18.7 kB / 478.4 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4355, allocations: 4 kB / 478.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4355, allocations: 0 / 478.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4355, allocations: 0 / 478.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.4359, allocations: 381.4 kB / 478.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4359, allocations: 0 / 478.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4361, allocations: 42.25 kB / 478.9 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4361, allocations: 4 kB / 478.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4361, allocations: 0 / 478.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4361, allocations: 6.719 kB / 478.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4361, allocations: 96 / 478.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002459/0.4364, allocations: 408.7 kB / 479.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003008/0.4367, allocations: 0.8152 MB / 480.1 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.4367, allocations: 96.42 kB / 480.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4368, allocations: 4 kB / 480.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4369, allocations: 0 / 480.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.4369, allocations: 13.86 kB / 480.2 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.437, allocations: 11.12 kB / 480.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.195e-05/0.437, allocations: 123.8 kB / 480.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008889/0.4379, allocations: 51.78 kB / 480.4 MB, free: 7.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.356e-05/0.438, allocations: 103.7 kB / 480.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.4382, allocations: 117.8 kB / 480.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4382, allocations: 4.875 kB / 480.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.593e-05/0.4383, allocations: 44.44 kB / 480.6 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.4386, allocations: 26.11 kB / 480.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.4392, allocations: 481.7 kB / 481.1 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.4394, allocations: 0.7619 MB / 481.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4394, allocations: 0 / 481.9 MB, free: 6.34 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat