Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator",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.001856/0.001856, allocations: 178.2 kB / 8.52 MB, free: 1.828 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.381/1.381, allocations: 221.4 MB / 230.3 MB, free: 7.66 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.001001/0.001001, allocations: 91.98 kB / 281.2 MB, free: 5.473 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.2243/0.2243, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3257/0.5501, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.7109, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/1.127, allocations: 87.79 MB / 0.5799 GB, free: 8.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.128, allocations: 67.69 kB / 0.58 GB, free: 8.887 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.02045/1.148, allocations: 7.162 MB / 0.587 GB, free: 1.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/1.148, allocations: 19.92 kB / 0.587 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/1.149, allocations: 91.2 kB / 0.5871 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/1.149, allocations: 234.4 kB / 0.5873 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/1.149, allocations: 150.6 kB / 0.5874 GB, free: 1.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/1.149, allocations: 158.5 kB / 0.5876 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.812e-05/1.149, allocations: 154.6 kB / 0.5877 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.649e-05/1.149, allocations: 101 kB / 0.5878 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/1.149, allocations: 75.28 kB / 0.5879 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/1.149, allocations: 154.5 kB / 0.588 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/1.149, allocations: 158.6 kB / 0.5882 GB, free: 388 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/1.149, allocations: 422.5 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/1.15, allocations: 173.1 kB / 0.5888 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/1.15, allocations: 80.14 kB / 0.5888 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/1.15, allocations: 79.28 kB / 0.5889 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/1.15, allocations: 109.8 kB / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/1.15, allocations: 0 / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.000111/1.15, allocations: 25.7 kB / 0.589 GB, free: 15.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/1.15, allocations: 106.8 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/1.15, allocations: 85 kB / 0.5892 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.15, allocations: 25.7 kB / 0.5893 GB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/1.15, allocations: 84.27 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/1.15, allocations: 0 / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-06/1.15, allocations: 0 / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/1.15, allocations: 326.7 kB / 0.5896 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-06/1.15, allocations: 0 / 0.5896 GB, free: 14.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/1.15, allocations: 9.719 kB / 0.5897 GB, free: 14.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/1.15, allocations: 79.28 kB / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/1.15, allocations: 79.31 kB / 0.5898 GB, free: 14.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.661e-05/1.15, allocations: 29.7 kB / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.15, allocations: 4 kB / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/1.15, allocations: 79.22 kB / 0.5899 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.778e-05/1.15, allocations: 154.6 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.396e-05/1.151, allocations: 83.27 kB / 0.5901 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.71e-05/1.151, allocations: 154.5 kB / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/1.151, allocations: 85.3 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/1.151, allocations: 76.03 kB / 0.5904 GB, free: 13.95 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 (0): * Single equations (assignments): 0 * 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 0.0001268/1.151, allocations: 259.5 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/1.151, allocations: 109 kB / 0.5908 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/1.151, allocations: 123.7 kB / 0.5909 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-05/1.151, allocations: 184.3 kB / 0.5911 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.662e-05/1.151, allocations: 180.2 kB / 0.5913 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.259e-05/1.151, allocations: 176.3 kB / 0.5914 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/1.151, allocations: 377.8 kB / 0.5918 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/1.151, allocations: 112.9 kB / 0.5919 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/1.152, allocations: 104.9 kB / 0.592 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-05/1.152, allocations: 180.3 kB / 0.5922 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/1.152, allocations: 184.2 kB / 0.5923 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.398e-05/1.152, allocations: 180.2 kB / 0.5925 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.316e-05/1.152, allocations: 180.6 kB / 0.5927 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001258/1.152, allocations: 307.8 kB / 0.593 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003137/1.152, allocations: 0.6797 MB / 0.5936 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/1.152, allocations: 178.1 kB / 0.5938 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/1.152, allocations: 180.2 kB / 0.594 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/1.153, allocations: 112.9 kB / 0.5941 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/1.153, allocations: 184.3 kB / 0.5943 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/1.153, allocations: 105 kB / 0.5944 GB, free: 9.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.952e-05/1.153, allocations: 75.28 kB / 0.5944 GB, free: 9.609 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001208/1.154, allocations: 159.7 kB / 0.5946 GB, free: 9.453 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 (0): * Single equations (assignments): 0 * 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.001076/1.155, allocations: 0.4979 MB / 0.5951 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.663e-05/1.155, allocations: 11.94 kB / 0.5951 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.155, allocations: 0 / 0.5951 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/1.155, allocations: 3.938 kB / 0.5951 GB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/1.155, allocations: 0.5224 MB / 0.5956 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/1.156, allocations: 115.3 kB / 0.5957 GB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.156, allocations: 0.6841 MB / 0.5964 GB, free: 7.605 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/1.156, allocations: 0 / 0.5964 GB, free: 7.605 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat