Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",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.001071/0.001071, allocations: 205.8 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009382/0.0009382, allocations: 101.3 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1733/0.1733, allocations: 45.15 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.191/0.3643, allocations: 69.36 MB / 452.7 MB, free: 76.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07921/0.4435, allocations: 63.24 MB / 0.5039 GB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.691, allocations: 89.32 MB / 0.5911 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.6913, allocations: 68.84 kB / 0.5912 GB, free: 13.36 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.009841/0.7011, allocations: 3.059 MB / 0.5941 GB, free: 10.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.7012, allocations: 8 kB / 0.5941 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.7013, allocations: 31.8 kB / 0.5942 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.7016, allocations: 203.9 kB / 0.5944 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.7016, allocations: 4 kB / 0.5944 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.7016, allocations: 11.12 kB / 0.5944 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002002/0.7018, allocations: 81.42 kB / 0.5945 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.7021, allocations: 143.4 kB / 0.5946 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.7021, allocations: 3.906 kB / 0.5946 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.7021, allocations: 0 / 0.5946 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.7021, allocations: 7.984 kB / 0.5946 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008594/0.703, allocations: 0.6504 MB / 0.5952 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.7032, allocations: 94.11 kB / 0.5953 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.7033, allocations: 54.05 kB / 0.5954 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.7033, allocations: 0 / 0.5954 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.7033, allocations: 37.53 kB / 0.5954 GB, free: 9.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.7033, allocations: 4 kB / 0.5954 GB, free: 9.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001022/0.7044, allocations: 296.1 kB / 0.5957 GB, free: 9.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.7044, allocations: 51.41 kB / 0.5958 GB, free: 9.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.7045, allocations: 130.1 kB / 0.5959 GB, free: 9.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.7045, allocations: 25.7 kB / 0.5959 GB, free: 8.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.7046, allocations: 120.1 kB / 0.596 GB, free: 8.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.7047, allocations: 64.52 kB / 0.5961 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.7047, allocations: 0 / 0.5961 GB, free: 8.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7048, allocations: 318.3 kB / 0.5964 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.7049, allocations: 49.06 kB / 0.5964 GB, free: 8.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.705, allocations: 78.14 kB / 0.5965 GB, free: 8.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.7051, allocations: 58.61 kB / 0.5966 GB, free: 8.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.7051, allocations: 0 / 0.5966 GB, free: 8.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003143/0.7055, allocations: 168.7 kB / 0.5967 GB, free: 8.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.7055, allocations: 4 kB / 0.5967 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7055, allocations: 4 kB / 0.5967 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7055, allocations: 0.875 kB / 0.5967 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.7059, allocations: 63.86 kB / 0.5968 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.7059, allocations: 4 kB / 0.5968 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.7061, allocations: 15.92 kB / 0.5968 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.7061, allocations: 8 kB / 0.5968 GB, free: 8.145 MB / 394.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 (23): * Single equations (assignments): 23 * 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 7.777e-05/0.7062, allocations: 104.9 kB / 0.5969 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.7063, allocations: 19.81 kB / 0.5969 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.7063, allocations: 23.55 kB / 0.597 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.7063, allocations: 0 / 0.597 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7064, allocations: 7.906 kB / 0.597 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7064, allocations: 0 / 0.597 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.7072, allocations: 0.5584 MB / 0.5975 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7072, allocations: 0 / 0.5975 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.7075, allocations: 51.89 kB / 0.5976 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7076, allocations: 0 / 0.5976 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.7076, allocations: 8 kB / 0.5976 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7076, allocations: 0 / 0.5976 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7076, allocations: 0 / 0.5976 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003283/0.7079, allocations: 259.9 kB / 0.5978 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004276/0.7084, allocations: 0.6185 MB / 0.5984 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.7085, allocations: 111.6 kB / 0.5985 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.7085, allocations: 0 / 0.5985 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.7088, allocations: 15.98 kB / 0.5985 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.7089, allocations: 15.22 kB / 0.5986 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.7089, allocations: 11.56 kB / 0.5986 GB, free: 6.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.385e-05/0.709, allocations: 106 kB / 0.5987 GB, free: 6.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00096/0.7099, allocations: 36 kB / 0.5987 GB, free: 6.301 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001223/0.7101, allocations: 99.12 kB / 0.5988 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.7103, allocations: 134.1 kB / 0.5989 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7103, allocations: 0 / 0.5989 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.7105, allocations: 69.06 kB / 0.599 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.7107, allocations: 15.33 kB / 0.599 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.7114, allocations: 207.6 kB / 0.5992 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.7118, allocations: 0.7547 MB / 0.5999 GB, free: 5.066 MB / 394.7 MB Notification: Performance of SimCode: time 1.853e-06/0.7118, allocations: 0 / 0.5999 GB, free: 5.066 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat does not exist to compare? outputFormat=mat