Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001487/0.001487, allocations: 198.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008652/0.0008653, allocations: 97.64 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1733/0.1733, allocations: 45.15 MB / 383.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1959/0.3692, allocations: 69.35 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.087/0.4562, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2629/0.7192, allocations: 90.71 MB / 0.5924 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.7195, allocations: 64.09 kB / 0.5925 GB, free: 12.07 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.1065/0.826, allocations: 38.57 MB / 0.6302 GB, free: 10.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.826, allocations: 12 kB / 0.6302 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.8261, allocations: 4 kB / 0.6302 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.936e-05/0.8261, allocations: 159.1 kB / 0.6303 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.8262, allocations: 0 / 0.6303 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.8262, allocations: 0 / 0.6303 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.239e-05/0.8262, allocations: 3.938 kB / 0.6303 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.617e-05/0.8263, allocations: 29.7 kB / 0.6304 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.8263, allocations: 0 / 0.6304 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8263, allocations: 3.906 kB / 0.6304 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.8263, allocations: 0 / 0.6304 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.8264, allocations: 133.7 kB / 0.6305 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.545e-05/0.8265, allocations: 18.61 kB / 0.6305 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.8265, allocations: 4.859 kB / 0.6305 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.8265, allocations: 0 / 0.6305 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.8265, allocations: 60.2 kB / 0.6306 GB, free: 10.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.8266, allocations: 0 / 0.6306 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.8267, allocations: 29.8 kB / 0.6306 GB, free: 10.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.8268, allocations: 92.22 kB / 0.6307 GB, free: 10.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.173e-05/0.8268, allocations: 89 kB / 0.6308 GB, free: 9.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.8268, allocations: 25.7 kB / 0.6308 GB, free: 9.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.8268, allocations: 80.14 kB / 0.6309 GB, free: 9.848 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.8269, allocations: 3.906 kB / 0.6309 GB, free: 9.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-06/0.8269, allocations: 0 / 0.6309 GB, free: 9.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.827, allocations: 310.8 kB / 0.6312 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.827, allocations: 0 / 0.6312 GB, free: 9.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.827, allocations: 8 kB / 0.6312 GB, free: 9.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.827, allocations: 0 / 0.6312 GB, free: 9.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.827, allocations: 0 / 0.6312 GB, free: 9.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.336e-05/0.8271, allocations: 36.83 kB / 0.6312 GB, free: 9.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.8271, allocations: 7.984 kB / 0.6312 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.8271, allocations: 0 / 0.6312 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.8271, allocations: 4 kB / 0.6312 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.8271, allocations: 3.938 kB / 0.6312 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.8271, allocations: 0 / 0.6312 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.8272, allocations: 12 kB / 0.6313 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.8272, allocations: 0 / 0.6313 GB, free: 9.457 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 6.264e-05/0.8272, allocations: 130.7 kB / 0.6314 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.8273, allocations: 0 / 0.6314 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.8273, allocations: 3 kB / 0.6314 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.8273, allocations: 0 / 0.6314 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8273, allocations: 0 / 0.6314 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.8273, allocations: 0 / 0.6314 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.333e-05/0.8274, allocations: 134.1 kB / 0.6315 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.8274, allocations: 0 / 0.6315 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.8274, allocations: 4 kB / 0.6315 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.8274, allocations: 0 / 0.6315 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.8274, allocations: 0 / 0.6315 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.8274, allocations: 0 / 0.6315 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8274, allocations: 0 / 0.6315 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.563e-05/0.8275, allocations: 68.16 kB / 0.6316 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001655/0.8276, allocations: 446.3 kB / 0.632 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.8277, allocations: 77.11 kB / 0.6321 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.8277, allocations: 0 / 0.6321 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.8277, allocations: 3.938 kB / 0.6321 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.8277, allocations: 11.03 kB / 0.6321 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.8277, allocations: 7.969 kB / 0.6321 GB, free: 8.496 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.042e-05/0.8278, allocations: 75.28 kB / 0.6322 GB, free: 8.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009291/0.8287, allocations: 77.39 kB / 0.6323 GB, free: 8.359 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.002612/0.8313, allocations: 0.7351 MB / 0.633 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.297e-05/0.8314, allocations: 29.7 kB / 0.633 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8314, allocations: 0 / 0.633 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.8314, allocations: 33.77 kB / 0.633 GB, free: 7.574 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.961e-05/0.8315, allocations: 3.375 kB / 0.633 GB, free: 7.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001333/0.8317, allocations: 48 kB / 0.6331 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.8318, allocations: 0.6802 MB / 0.6337 GB, free: 6.797 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.8319, allocations: 0 / 0.6337 GB, free: 6.797 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat