Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.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.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",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.001101/0.001101, allocations: 178.9 kB / 8.477 MB, free: 1.883 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.23/1.23, allocations: 205.2 MB / 214.1 MB, free: 5.086 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.0009357/0.000936, allocations: 93.92 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1751/0.1761, allocations: 52.96 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07254/0.2486, allocations: 47.58 MB / 362.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2531/0.5018, allocations: 76.44 MB / 439.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5021, allocations: 69.53 kB / 439.1 MB, free: 10.8 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.007047/0.5091, allocations: 2.667 MB / 441.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5092, allocations: 11.72 kB / 441.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.5093, allocations: 15.47 kB / 441.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.5094, allocations: 202.5 kB / 442 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.5095, allocations: 11.66 kB / 442 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.5095, allocations: 7.719 kB / 442 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001653/0.5097, allocations: 74.3 kB / 442.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.5098, allocations: 110.6 kB / 442.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5099, allocations: 0 / 442.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.5099, allocations: 3.906 kB / 442.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5099, allocations: 5.094 kB / 442.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.5106, allocations: 0.4938 MB / 442.7 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.118e-05/0.5107, allocations: 56.77 kB / 442.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.5108, allocations: 22.83 kB / 442.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.5108, allocations: 0 / 442.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.5108, allocations: 38.94 kB / 442.8 MB, free: 9.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.654e-06/0.5109, allocations: 0 / 442.8 MB, free: 9.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000685/0.5116, allocations: 0.5239 MB / 443.4 MB, free: 9.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.5116, allocations: 51.41 kB / 443.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.5117, allocations: 118.6 kB / 443.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.5117, allocations: 30.39 kB / 443.6 MB, free: 8.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.5117, allocations: 132.1 kB / 443.7 MB, free: 8.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.5118, allocations: 35.03 kB / 443.7 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.5118, allocations: 0 / 443.7 MB, free: 8.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.5118, allocations: 325.7 kB / 444 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.993e-05/0.5119, allocations: 25.69 kB / 444.1 MB, free: 8.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.5119, allocations: 75.84 kB / 444.1 MB, free: 8.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.512, allocations: 40.67 kB / 444.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.512, allocations: 0 / 444.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001745/0.5122, allocations: 129.3 kB / 444.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5122, allocations: 8.078 kB / 444.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5122, allocations: 0 / 444.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5122, allocations: 3.875 kB / 444.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.5124, allocations: 48.06 kB / 444.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5124, allocations: 0.8438 kB / 444.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.5125, allocations: 8.359 kB / 444.4 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.5125, allocations: 8.172 kB / 444.4 MB, free: 8.387 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.956e-05/0.5126, allocations: 101.7 kB / 444.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.5126, allocations: 15.59 kB / 444.5 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.5127, allocations: 16.34 kB / 444.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5127, allocations: 0.5625 kB / 444.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5127, allocations: 4 kB / 444.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5127, allocations: 4.453 kB / 444.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.5131, allocations: 387.7 kB / 444.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5131, allocations: 0.9375 kB / 444.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.5132, allocations: 34.36 kB / 444.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5132, allocations: 0.75 kB / 444.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5132, allocations: 3.969 kB / 444.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5133, allocations: 0.75 kB / 444.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5133, allocations: 0 / 444.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002494/0.5135, allocations: 256.8 kB / 445.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002344/0.5138, allocations: 0.6479 MB / 445.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.5138, allocations: 89.83 kB / 445.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.5138, allocations: 4.5 kB / 445.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.5139, allocations: 4.625 kB / 445.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.514, allocations: 10.52 kB / 446 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.514, allocations: 0.5625 kB / 446 MB, free: 7.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.761e-05/0.514, allocations: 95.95 kB / 446 MB, free: 7.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008577/0.5149, allocations: 27.81 kB / 446.1 MB, free: 7.016 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001262/0.515, allocations: 99.86 kB / 446.2 MB, free: 6.926 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.5152, allocations: 73.44 kB / 446.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5152, allocations: 0 / 446.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.5152, allocations: 31.05 kB / 446.3 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.5154, allocations: 7.984 kB / 446.3 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.516, allocations: 292.7 kB / 446.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.5162, allocations: 0.7418 MB / 447.3 MB, free: 5.996 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5162, allocations: 0 / 447.3 MB, free: 5.996 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat