Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",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.001007/0.001007, 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.157/1.157, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008875/0.0008878, allocations: 96.16 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09429/0.09521, allocations: 56.89 MB / 343.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08334/0.1786, allocations: 51.48 MB / 394.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.3947, allocations: 78.54 MB / 473.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/0.3949, allocations: 73.42 kB / 473.3 MB, free: 13.22 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.007532/0.4024, allocations: 3.12 MB / 476.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.4025, allocations: 12 kB / 476.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.4027, allocations: 34.7 kB / 476.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4029, allocations: 188.4 kB / 476.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4029, allocations: 4 kB / 476.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4029, allocations: 15.81 kB / 476.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001554/0.4031, allocations: 59.44 kB / 476.7 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.4032, allocations: 82.39 kB / 476.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4032, allocations: 0 / 476.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4032, allocations: 7.906 kB / 476.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4033, allocations: 4 kB / 476.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.4039, allocations: 464.8 kB / 477.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.4041, allocations: 76.28 kB / 477.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.4042, allocations: 31.17 kB / 477.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.4042, allocations: 0 / 477.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/0.4042, allocations: 42.5 kB / 477.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.4042, allocations: 0 / 477.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005244/0.4048, allocations: 373 kB / 477.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/0.4048, allocations: 55.41 kB / 477.9 MB, free: 9.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.4049, allocations: 124.8 kB / 478 MB, free: 9.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.4049, allocations: 25.7 kB / 478 MB, free: 9.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.4049, allocations: 111 kB / 478.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.405, allocations: 47.94 kB / 478.2 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.405, allocations: 0 / 478.2 MB, free: 9.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.405, allocations: 321 kB / 478.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.4051, allocations: 26.5 kB / 478.5 MB, free: 9.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.4052, allocations: 58.27 kB / 478.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.606e-05/0.4052, allocations: 41.02 kB / 478.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4052, allocations: 0 / 478.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001783/0.4054, allocations: 130.6 kB / 478.7 MB, free: 9.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4054, allocations: 4 kB / 478.7 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4054, allocations: 3.828 kB / 478.7 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4055, allocations: 4 kB / 478.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.4057, allocations: 42.78 kB / 478.8 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4057, allocations: 4.062 kB / 478.8 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.4058, allocations: 11.42 kB / 478.8 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4058, allocations: 9.781 kB / 478.8 MB, free: 9.137 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 (18): * Single equations (assignments): 18 * 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 4.592e-05/0.4059, allocations: 108.9 kB / 478.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.4059, allocations: 15.33 kB / 478.9 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.406, allocations: 20.25 kB / 478.9 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.406, allocations: 0 / 478.9 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.406, allocations: 0 / 478.9 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.406, allocations: 0 / 478.9 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.4064, allocations: 408.2 kB / 479.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4064, allocations: 0 / 479.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.4066, allocations: 42.61 kB / 479.4 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4066, allocations: 4 kB / 479.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4067, allocations: 0 / 479.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4067, allocations: 3.906 kB / 479.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4067, allocations: 4.219 kB / 479.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002304/0.4069, allocations: 278 kB / 479.7 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002837/0.4072, allocations: 0.6823 MB / 480.3 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.4072, allocations: 88.92 kB / 480.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.4073, allocations: 4 kB / 480.4 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4074, allocations: 11.52 kB / 480.5 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.4075, allocations: 16.2 kB / 480.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.4075, allocations: 4.875 kB / 480.5 MB, free: 7.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.441e-05/0.4075, allocations: 101.5 kB / 480.6 MB, free: 7.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008099/0.4083, allocations: 24 kB / 480.6 MB, free: 7.434 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 8.585e-05/0.4084, allocations: 95.25 kB / 480.7 MB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.4086, allocations: 82.75 kB / 480.8 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4086, allocations: 0 / 480.8 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.4086, allocations: 44.38 kB / 480.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.4089, allocations: 27.47 kB / 480.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.4094, allocations: 352 kB / 481.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.4096, allocations: 0.7318 MB / 481.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4096, allocations: 8 kB / 481.9 MB, free: 6.172 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat