Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.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.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",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.001053/0.001053, allocations: 203.9 kB / 8.541 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.257/1.257, allocations: 225.5 MB / 234.4 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000843/0.0008431, allocations: 94.55 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09942/0.1003, allocations: 56.9 MB / 343.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08208/0.1824, allocations: 51.47 MB / 394.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/0.4136, allocations: 76.56 MB / 471.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001603/0.4138, allocations: 65.58 kB / 471.3 MB, free: 14.64 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.007017/0.4208, allocations: 2.982 MB / 474.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.4209, allocations: 12 kB / 474.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.4209, allocations: 23.72 kB / 474.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.4211, allocations: 206.2 kB / 474.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.4211, allocations: 4 kB / 474.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4212, allocations: 12 kB / 474.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000162/0.4213, allocations: 77.97 kB / 474.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.4215, allocations: 154.3 kB / 474.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4216, allocations: 11.91 kB / 474.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4216, allocations: 0 / 474.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4216, allocations: 4 kB / 474.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.4225, allocations: 0.9132 MB / 475.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.4226, allocations: 93.23 kB / 475.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.4227, allocations: 33.83 kB / 475.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.4227, allocations: 4 kB / 475.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.4227, allocations: 37.95 kB / 475.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.4227, allocations: 0 / 475.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002219/0.423, allocations: 90.41 kB / 476 MB, free: 11.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.423, allocations: 102.8 kB / 476.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.4231, allocations: 150.3 kB / 476.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.4231, allocations: 25.7 kB / 476.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.4232, allocations: 140.3 kB / 476.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.4232, allocations: 52.38 kB / 476.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.4232, allocations: 1.5 kB / 476.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.4233, allocations: 325 kB / 476.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.4233, allocations: 37.97 kB / 476.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.4234, allocations: 132.1 kB / 476.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.458e-05/0.4235, allocations: 56.23 kB / 477 MB, free: 10.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4235, allocations: 0 / 477 MB, free: 10.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002229/0.4237, allocations: 178.1 kB / 477.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.4238, allocations: 7.391 kB / 477.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4238, allocations: 8.219 kB / 477.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4238, allocations: 12.03 kB / 477.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.4239, allocations: 50.59 kB / 477.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.424, allocations: 7.938 kB / 477.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.4241, allocations: 19.75 kB / 477.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4241, allocations: 11.5 kB / 477.3 MB, free: 10.09 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 (28): * Single equations (assignments): 28 * 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.528e-05/0.4241, allocations: 112.9 kB / 477.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.4242, allocations: 19 kB / 477.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.4243, allocations: 15.78 kB / 477.4 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4243, allocations: 0 / 477.4 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4243, allocations: 8 kB / 477.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4243, allocations: 0 / 477.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.4246, allocations: 208.2 kB / 477.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4247, allocations: 0 / 477.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.4248, allocations: 30.48 kB / 477.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4248, allocations: 0 / 477.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4248, allocations: 7.422 kB / 477.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4248, allocations: 0 / 477.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4249, allocations: 0 / 477.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001891/0.425, allocations: 400.8 kB / 478 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002318/0.4253, allocations: 0.779 MB / 478.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.4253, allocations: 96.11 kB / 478.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.4254, allocations: 4.109 kB / 478.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.4255, allocations: 3.938 kB / 478.9 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.4256, allocations: 7.469 kB / 478.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.4256, allocations: 0 / 478.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.012e-05/0.4256, allocations: 115.9 kB / 479 MB, free: 8.344 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009088/0.4265, allocations: 46.86 kB / 479.1 MB, free: 8.301 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001155/0.4267, allocations: 103 kB / 479.2 MB, free: 8.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.4268, allocations: 98.06 kB / 479.3 MB, free: 8.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4268, allocations: 0 / 479.3 MB, free: 8.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.4269, allocations: 31.25 kB / 479.3 MB, free: 8.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.4272, allocations: 28.75 kB / 479.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.4279, allocations: 0.5223 MB / 479.9 MB, free: 7.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.4282, allocations: 0.7671 MB / 480.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4282, allocations: 0 / 480.6 MB, free: 6.855 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat