Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",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.0009803/0.0009802, allocations: 174.8 kB / 8.518 MB, free: 1.832 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.175/1.175, allocations: 221.4 MB / 230.3 MB, free: 7.75 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.0008851/0.0008851, allocations: 95.14 kB / 281.2 MB, free: 5.508 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.1656/0.1656, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1894/0.355, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.4626, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2847/0.7473, allocations: 89.97 MB / 0.582 GB, free: 6.793 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.7476, allocations: 55.97 kB / 0.5821 GB, free: 6.738 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.01719/0.7648, allocations: 6.356 MB / 0.5883 GB, free: 252 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.7648, allocations: 19.94 kB / 0.5883 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.7657, allocations: 63.66 kB / 0.5884 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.7659, allocations: 198.7 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.7659, allocations: 8 kB / 0.5886 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.766, allocations: 16 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002366/0.7662, allocations: 113.3 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.7665, allocations: 148.9 kB / 0.5888 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.7665, allocations: 0 / 0.5888 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.7665, allocations: 4 kB / 0.5888 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.7666, allocations: 8 kB / 0.5888 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.7674, allocations: 0.5377 MB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.7678, allocations: 199.2 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.484e-05/0.7679, allocations: 57.33 kB / 0.5896 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.768, allocations: 4.234 kB / 0.5896 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.768, allocations: 38.73 kB / 0.5897 GB, free: 14.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.768, allocations: 0 / 0.5897 GB, free: 14.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002884/0.7683, allocations: 137.2 kB / 0.5898 GB, free: 14.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.7683, allocations: 55.41 kB / 0.5898 GB, free: 14.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.7684, allocations: 96.98 kB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.7684, allocations: 25.7 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.7685, allocations: 140.2 kB / 0.5901 GB, free: 14.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.7686, allocations: 78.77 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-06/0.7686, allocations: 0 / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7687, allocations: 326.7 kB / 0.5905 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.7688, allocations: 32 kB / 0.5905 GB, free: 13.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.7689, allocations: 36.22 kB / 0.5905 GB, free: 13.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.7689, allocations: 42.81 kB / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.769, allocations: 0 / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001944/0.7692, allocations: 133.5 kB / 0.5907 GB, free: 13.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.7692, allocations: 12 kB / 0.5907 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.7692, allocations: 0 / 0.5907 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.7692, allocations: 0 / 0.5907 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.7696, allocations: 99.94 kB / 0.5908 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.7696, allocations: 7.938 kB / 0.5908 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.7697, allocations: 20.59 kB / 0.5908 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.7697, allocations: 4 kB / 0.5908 GB, free: 13.47 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 6.596e-05/0.7698, allocations: 101 kB / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.7698, allocations: 7.906 kB / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.7699, allocations: 29.2 kB / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7699, allocations: 0 / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7699, allocations: 4 kB / 0.591 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7699, allocations: 0 / 0.591 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.7702, allocations: 214 kB / 0.5912 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7702, allocations: 7.938 kB / 0.5912 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.7705, allocations: 103.9 kB / 0.5913 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.7705, allocations: 0 / 0.5913 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.7706, allocations: 0 / 0.5913 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7706, allocations: 4.25 kB / 0.5913 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7706, allocations: 3.906 kB / 0.5913 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002344/0.7708, allocations: 256 kB / 0.5915 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005385/0.7714, allocations: 0.7268 MB / 0.5923 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.7714, allocations: 92.94 kB / 0.5923 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.7714, allocations: 7.734 kB / 0.5923 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.7715, allocations: 8 kB / 0.5924 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.7716, allocations: 11.98 kB / 0.5924 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.7716, allocations: 7.984 kB / 0.5924 GB, free: 11.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.212e-05/0.7716, allocations: 83.28 kB / 0.5925 GB, free: 11.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008684/0.7725, allocations: 43.75 kB / 0.5925 GB, free: 11.68 MB / 410.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 (27): * Single equations (assignments): 27 * 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 9.201e-05/0.7726, allocations: 95.19 kB / 0.5926 GB, free: 11.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.7728, allocations: 112.8 kB / 0.5927 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7728, allocations: 4 kB / 0.5927 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.7729, allocations: 67.92 kB / 0.5928 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.773, allocations: 0 / 0.5928 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.7735, allocations: 251.6 kB / 0.593 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.7739, allocations: 0.7706 MB / 0.5938 GB, free: 10.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7739, allocations: 0 / 0.5938 GB, free: 10.34 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat