Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile",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 4.0.0+maint.om/package.mo): time 0.0009778/0.0009777, allocations: 174.6 kB / 8.517 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 93.95 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.14 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2873/0.5104, allocations: 68.02 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.6661, allocations: 61.91 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/1.108, allocations: 84.93 MB / 0.5771 GB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.109, allocations: 59.97 kB / 0.5772 GB, free: 11.89 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01022/1.119, allocations: 3.793 MB / 0.5809 GB, free: 8.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.119, allocations: 15.94 kB / 0.5809 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/1.119, allocations: 0 / 0.5809 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/1.119, allocations: 159.1 kB / 0.581 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.119, allocations: 0 / 0.581 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/1.119, allocations: 0 / 0.581 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.201e-05/1.119, allocations: 4 kB / 0.581 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/1.119, allocations: 33.69 kB / 0.5811 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.119, allocations: 3.906 kB / 0.5811 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/1.119, allocations: 4 kB / 0.5811 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.119, allocations: 0 / 0.5811 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/1.119, allocations: 134.2 kB / 0.5812 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/1.12, allocations: 14.58 kB / 0.5812 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/1.12, allocations: 4.859 kB / 0.5812 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-06/1.12, allocations: 0 / 0.5812 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.12, allocations: 60.36 kB / 0.5813 GB, free: 7.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/1.12, allocations: 4 kB / 0.5813 GB, free: 7.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001676/1.12, allocations: 37.69 kB / 0.5813 GB, free: 7.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/1.12, allocations: 77.11 kB / 0.5814 GB, free: 7.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/1.12, allocations: 88.91 kB / 0.5815 GB, free: 7.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/1.12, allocations: 33.64 kB / 0.5815 GB, free: 7.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/1.12, allocations: 80.14 kB / 0.5816 GB, free: 7.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/1.12, allocations: 0 / 0.5816 GB, free: 7.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/1.12, allocations: 160 / 0.5816 GB, free: 7.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/1.12, allocations: 314.8 kB / 0.5819 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/1.12, allocations: 0 / 0.5819 GB, free: 6.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/1.12, allocations: 4 kB / 0.5819 GB, free: 6.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/1.12, allocations: 7.984 kB / 0.5819 GB, free: 6.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.12, allocations: 0 / 0.5819 GB, free: 6.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.632e-05/1.12, allocations: 33.7 kB / 0.5819 GB, free: 6.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.12, allocations: 6.5 kB / 0.5819 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.12, allocations: 0 / 0.5819 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.12, allocations: 8.031 kB / 0.5819 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.505e-06/1.12, allocations: 3.906 kB / 0.5819 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.12, allocations: 0 / 0.5819 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/1.12, allocations: 3.984 kB / 0.582 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/1.12, allocations: 4 kB / 0.582 GB, free: 6.789 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.185e-05/1.12, allocations: 127.7 kB / 0.5821 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/1.12, allocations: 4 kB / 0.5821 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/1.12, allocations: 3 kB / 0.5821 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.12, allocations: 3.938 kB / 0.5821 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.12, allocations: 15.84 kB / 0.5821 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.12, allocations: 0 / 0.5821 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.106e-05/1.121, allocations: 126.2 kB / 0.5822 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.121, allocations: 0 / 0.5822 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/1.121, allocations: 0 / 0.5822 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/1.121, allocations: 0 / 0.5822 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/1.121, allocations: 4 kB / 0.5822 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/1.121, allocations: 0 / 0.5822 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.121, allocations: 0 / 0.5822 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.412e-05/1.121, allocations: 73.02 kB / 0.5823 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001819/1.121, allocations: 445.5 kB / 0.5827 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/1.121, allocations: 81.02 kB / 0.5828 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/1.121, allocations: 0 / 0.5828 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/1.121, allocations: 0 / 0.5828 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/1.121, allocations: 8.062 kB / 0.5828 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/1.121, allocations: 0 / 0.5828 GB, free: 5.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.334e-05/1.121, allocations: 75.28 kB / 0.5829 GB, free: 5.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008243/1.122, allocations: 27.98 kB / 0.5829 GB, free: 5.707 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003798/1.122, allocations: 180.2 kB / 0.5831 GB, free: 5.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.328e-05/1.122, allocations: 29.7 kB / 0.5831 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.122, allocations: 0 / 0.5831 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/1.122, allocations: 29.64 kB / 0.5831 GB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.184e-05/1.122, allocations: 12.03 kB / 0.5831 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/1.123, allocations: 52 kB / 0.5832 GB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/1.123, allocations: 0.6802 MB / 0.5839 GB, free: 4.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/1.123, allocations: 0 / 0.5839 GB, free: 4.68 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat