Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",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.00106/0.00106, allocations: 192.5 kB / 8.537 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.155/1.155, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008317/0.0008317, allocations: 91.58 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1004/0.1013, allocations: 56.89 MB / 343.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.1881, allocations: 51.47 MB / 394.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.4065, allocations: 77.25 MB / 471.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.4067, allocations: 65.8 kB / 472 MB, free: 14.12 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.01155/0.4183, allocations: 4.856 MB / 476.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4184, allocations: 12 kB / 476.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.4184, allocations: 32.33 kB / 476.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.4187, allocations: 231.9 kB / 477.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4187, allocations: 12 kB / 477.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.4187, allocations: 15.91 kB / 477.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002907/0.419, allocations: 154.3 kB / 477.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.4193, allocations: 207.3 kB / 477.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.4194, allocations: 4 kB / 477.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.4194, allocations: 0 / 477.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4194, allocations: 11.94 kB / 477.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.4202, allocations: 0.698 MB / 478.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.4205, allocations: 187.2 kB / 478.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4206, allocations: 104.3 kB / 478.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4206, allocations: 8.125 kB / 478.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.4207, allocations: 46.44 kB / 478.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.863e-06/0.4207, allocations: 0 / 478.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.001908/0.4226, allocations: 1.472 MB / 480 MB, free: 8.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.4226, allocations: 88.98 kB / 480.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4228, allocations: 146.9 kB / 480.3 MB, free: 8.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4228, allocations: 25.7 kB / 480.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.4228, allocations: 126.4 kB / 480.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.4229, allocations: 168 kB / 480.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.4229, allocations: 2.344 kB / 480.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.423, allocations: 342.5 kB / 480.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4231, allocations: 88.88 kB / 481 MB, free: 7.719 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.4233, allocations: 139.2 kB / 481.1 MB, free: 7.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.4235, allocations: 116.9 kB / 481.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4235, allocations: 4 kB / 481.3 MB, free: 7.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004167/0.4239, allocations: 311.6 kB / 481.6 MB, free: 7.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4239, allocations: 8.562 kB / 481.6 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4239, allocations: 4.062 kB / 481.6 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.424, allocations: 4 kB / 481.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.4244, allocations: 100.4 kB / 481.7 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4244, allocations: 4 kB / 481.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.4245, allocations: 0 / 481.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.4246, allocations: 16.23 kB / 481.7 MB, free: 7.223 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 6.922e-05/0.4246, allocations: 112.8 kB / 481.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.4247, allocations: 33.23 kB / 481.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.4248, allocations: 31.83 kB / 481.9 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4248, allocations: 8 kB / 481.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4248, allocations: 0 / 481.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4248, allocations: 2.625 kB / 481.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.4259, allocations: 0.8634 MB / 482.7 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4259, allocations: 0.5156 kB / 482.7 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.4263, allocations: 95.53 kB / 482.8 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.4264, allocations: 9.797 kB / 482.9 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4264, allocations: 4 kB / 482.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4264, allocations: 2.688 kB / 482.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.4264, allocations: 8 kB / 482.9 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005508/0.427, allocations: 0.6307 MB / 483.5 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000686/0.4277, allocations: 1.13 MB / 484.6 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.4277, allocations: 104.5 kB / 484.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.4278, allocations: 4 kB / 484.7 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.4279, allocations: 0 / 484.7 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.428, allocations: 23.91 kB / 484.8 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.428, allocations: 8 kB / 484.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.261e-05/0.4281, allocations: 114.4 kB / 484.9 MB, free: 4.508 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009674/0.429, allocations: 71.89 kB / 484.9 MB, free: 4.438 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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 0.0001019/0.4291, allocations: 103.7 kB / 485 MB, free: 4.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.4295, allocations: 267 kB / 485.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4295, allocations: 0 / 485.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.4297, allocations: 142.3 kB / 485.4 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.4301, allocations: 42.72 kB / 485.5 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4312, allocations: 0.8556 MB / 486.3 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.4314, allocations: 0.8273 MB / 487.2 MB, free: 2.34 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4315, allocations: 0 / 487.2 MB, free: 2.34 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat