Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.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.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 178.2 kB / 8.519 MB, free: 1.824 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.174/1.174, allocations: 221.4 MB / 230.3 MB, free: 7.758 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.0009224/0.0009224, allocations: 79.5 kB / 281.2 MB, free: 5.523 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.1599/0.1599, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.3401, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.4407, allocations: 61.9 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2568/0.6975, allocations: 89.66 MB / 0.5817 GB, free: 7.051 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.6977, allocations: 63.59 kB / 0.5818 GB, free: 6.992 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.1106/0.8084, allocations: 38.59 MB / 0.6195 GB, free: 356 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.8084, allocations: 11.94 kB / 0.6195 GB, free: 344 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.8084, allocations: 7.734 kB / 0.6195 GB, free: 340 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.8085, allocations: 159.1 kB / 0.6196 GB, free: 140 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.8085, allocations: 0 / 0.6196 GB, free: 140 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.8086, allocations: 4 kB / 0.6196 GB, free: 136 kB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.568e-05/0.8086, allocations: 3.938 kB / 0.6197 GB, free: 132 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.232e-05/0.8086, allocations: 25.7 kB / 0.6197 GB, free: 100 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.8087, allocations: 7.938 kB / 0.6197 GB, free: 92 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.8087, allocations: 7.906 kB / 0.6197 GB, free: 84 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8087, allocations: 4 kB / 0.6197 GB, free: 80 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.8088, allocations: 126.2 kB / 0.6198 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.242e-05/0.8088, allocations: 18.58 kB / 0.6198 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.8089, allocations: 4.859 kB / 0.6198 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.8089, allocations: 4.094 kB / 0.6198 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.8089, allocations: 64.2 kB / 0.6199 GB, free: 15.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.8089, allocations: 0 / 0.6199 GB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.8091, allocations: 33.69 kB / 0.6199 GB, free: 15.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.8091, allocations: 77.11 kB / 0.62 GB, free: 15.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.281e-05/0.8091, allocations: 88.98 kB / 0.6201 GB, free: 15.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.8092, allocations: 25.7 kB / 0.6201 GB, free: 15.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.8092, allocations: 80.14 kB / 0.6202 GB, free: 15.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.8092, allocations: 3.906 kB / 0.6202 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-06/0.8092, allocations: 7.969 kB / 0.6202 GB, free: 15.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8093, allocations: 318.8 kB / 0.6205 GB, free: 15.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.8093, allocations: 0 / 0.6205 GB, free: 15.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-06/0.8094, allocations: 0 / 0.6205 GB, free: 15.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.8094, allocations: 0 / 0.6205 GB, free: 15.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8094, allocations: 4 kB / 0.6205 GB, free: 15.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.278e-05/0.8095, allocations: 33.64 kB / 0.6205 GB, free: 15.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.8095, allocations: 4 kB / 0.6205 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8095, allocations: 0 / 0.6205 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.8095, allocations: 4.094 kB / 0.6206 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.485e-06/0.8095, allocations: 3.984 kB / 0.6206 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.8095, allocations: 0 / 0.6206 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.8095, allocations: 0 / 0.6206 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.8096, allocations: 7.906 kB / 0.6206 GB, free: 15.07 MB / 442.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 7.404e-05/0.8096, allocations: 126.7 kB / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.8096, allocations: 0 / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-06/0.8097, allocations: 3 kB / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8097, allocations: 4 kB / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.8097, allocations: 4 kB / 0.6207 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8097, allocations: 0 / 0.6207 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.177e-05/0.8098, allocations: 130.1 kB / 0.6208 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.8098, allocations: 0 / 0.6208 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.8098, allocations: 0 / 0.6208 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.8098, allocations: 0 / 0.6208 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.8098, allocations: 4 kB / 0.6208 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.8098, allocations: 0 / 0.6208 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8098, allocations: 0 / 0.6208 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001285/0.8099, allocations: 76.91 kB / 0.6209 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001884/0.8101, allocations: 437.5 kB / 0.6213 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.8102, allocations: 85.09 kB / 0.6214 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.8102, allocations: 3.984 kB / 0.6214 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.8102, allocations: 0 / 0.6214 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.8102, allocations: 7.969 kB / 0.6214 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.8102, allocations: 0 / 0.6214 GB, free: 14.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.468e-05/0.8103, allocations: 75.28 kB / 0.6215 GB, free: 14.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00101/0.8113, allocations: 75.86 kB / 0.6215 GB, free: 13.95 MB / 442.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.002761/0.8141, allocations: 0.7467 MB / 0.6223 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.8142, allocations: 33.7 kB / 0.6223 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8142, allocations: 0 / 0.6223 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.8142, allocations: 29.7 kB / 0.6223 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.431e-05/0.8143, allocations: 2.188 kB / 0.6223 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001417/0.8144, allocations: 40.08 kB / 0.6224 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.8147, allocations: 0.6879 MB / 0.6231 GB, free: 12.36 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8147, allocations: 0 / 0.6231 GB, free: 12.36 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat