Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",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.00166/0.00166, allocations: 185.5 kB / 7.806 MB, free: 2.488 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.458/1.458, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009429/0.0009428, allocations: 90.28 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2128/0.2128, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2298/0.4427, allocations: 64.95 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.7807, allocations: 58.84 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.9127, allocations: 88.56 MB / 0.552 GB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.9129, allocations: 63.47 kB / 0.552 GB, free: 10.29 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.1119/1.025, allocations: 38.49 MB / 0.5896 GB, free: 3.695 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.025, allocations: 8 kB / 0.5896 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/1.025, allocations: 0 / 0.5896 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/1.025, allocations: 161 kB / 0.5898 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/1.025, allocations: 0 / 0.5898 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/1.025, allocations: 4 kB / 0.5898 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.757e-05/1.025, allocations: 3.938 kB / 0.5898 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.559e-05/1.025, allocations: 29.7 kB / 0.5898 GB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.025, allocations: 0 / 0.5898 GB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.025, allocations: 3.906 kB / 0.5898 GB, free: 3.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.025, allocations: 4 kB / 0.5898 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/1.025, allocations: 126.2 kB / 0.5899 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.678e-05/1.025, allocations: 14.58 kB / 0.5899 GB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/1.025, allocations: 8.859 kB / 0.59 GB, free: 3.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-06/1.025, allocations: 8.094 kB / 0.59 GB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/1.026, allocations: 60.2 kB / 0.59 GB, free: 3.164 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/1.026, allocations: 0 / 0.59 GB, free: 3.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001821/1.026, allocations: 37.67 kB / 0.5901 GB, free: 3.121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.026, allocations: 77.11 kB / 0.5901 GB, free: 3.027 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.484e-05/1.026, allocations: 85 kB / 0.5902 GB, free: 2.938 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/1.026, allocations: 25.7 kB / 0.5902 GB, free: 2.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/1.026, allocations: 80.14 kB / 0.5903 GB, free: 2.824 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/1.026, allocations: 7.938 kB / 0.5903 GB, free: 2.816 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/1.026, allocations: 4 kB / 0.5903 GB, free: 2.812 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/1.026, allocations: 314.8 kB / 0.5906 GB, free: 2.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/1.026, allocations: 0 / 0.5906 GB, free: 2.496 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-06/1.026, allocations: 0 / 0.5906 GB, free: 2.496 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/1.026, allocations: 0 / 0.5906 GB, free: 2.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.026, allocations: 4 kB / 0.5906 GB, free: 2.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.781e-05/1.026, allocations: 37.62 kB / 0.5907 GB, free: 2.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.026, allocations: 8.094 kB / 0.5907 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.026, allocations: 3.938 kB / 0.5907 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.026, allocations: 0 / 0.5907 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/1.026, allocations: 0 / 0.5907 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.026, allocations: 3.984 kB / 0.5907 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/1.026, allocations: 11.84 kB / 0.5907 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/1.026, allocations: 0 / 0.5907 GB, free: 2.422 MB / 426.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 0.0001196/1.027, allocations: 128.1 kB / 0.5908 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/1.027, allocations: 0 / 0.5908 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/1.027, allocations: 7 kB / 0.5908 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.027, allocations: 4 kB / 0.5908 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.027, allocations: 4 kB / 0.5908 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.027, allocations: 0 / 0.5908 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/1.027, allocations: 130.1 kB / 0.5909 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.027, allocations: 0 / 0.5909 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/1.027, allocations: 0 / 0.5909 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.027, allocations: 0 / 0.5909 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/1.027, allocations: 4 kB / 0.591 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.027, allocations: 0 / 0.591 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.027, allocations: 0 / 0.591 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001222/1.027, allocations: 72.97 kB / 0.591 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002747/1.027, allocations: 441.5 kB / 0.5914 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/1.027, allocations: 85.11 kB / 0.5915 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/1.027, allocations: 0 / 0.5915 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-06/1.027, allocations: 4.062 kB / 0.5915 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/1.027, allocations: 3.906 kB / 0.5915 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/1.027, allocations: 0 / 0.5915 GB, free: 1.449 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.478e-05/1.027, allocations: 75.28 kB / 0.5916 GB, free: 1.375 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001018/1.028, allocations: 75.86 kB / 0.5917 GB, free: 1.301 MB / 426.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.002722/1.031, allocations: 0.7265 MB / 0.5924 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.025e-05/1.031, allocations: 29.7 kB / 0.5924 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.031, allocations: 0 / 0.5924 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/1.031, allocations: 33.77 kB / 0.5924 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/1.031, allocations: 3.281 kB / 0.5924 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001638/1.032, allocations: 48 kB / 0.5925 GB, free: 444 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/1.032, allocations: 0.6841 MB / 0.5932 GB, free: 15.72 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/1.032, allocations: 4 kB / 0.5932 GB, free: 15.72 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat