Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",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.001156/0.001156, allocations: 188 kB / 7.805 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.496/1.496, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001039/0.001039, allocations: 91.62 kB / 261.4 MB, free: 13.55 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.1838/0.1838, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2228/0.4066, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.7849, allocations: 58.83 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.9354, allocations: 87.96 MB / 0.5514 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.9357, allocations: 71.47 kB / 0.5514 GB, free: 10.89 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.04209/0.9778, allocations: 15.1 MB / 0.5662 GB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.9779, allocations: 8 kB / 0.5662 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.9779, allocations: 3.984 kB / 0.5662 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.9781, allocations: 159.1 kB / 0.5663 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.9782, allocations: 4 kB / 0.5663 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.9782, allocations: 0 / 0.5663 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.479e-05/0.9783, allocations: 3.938 kB / 0.5663 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.898e-05/0.9783, allocations: 33.7 kB / 0.5664 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9783, allocations: 0 / 0.5664 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.9784, allocations: 3.906 kB / 0.5664 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.9784, allocations: 0 / 0.5664 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.9786, allocations: 126.2 kB / 0.5665 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.9786, allocations: 18.58 kB / 0.5665 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.9787, allocations: 13.33 kB / 0.5665 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.9787, allocations: 0 / 0.5665 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.879e-05/0.9788, allocations: 60.27 kB / 0.5666 GB, free: 11.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.754e-06/0.9788, allocations: 0 / 0.5666 GB, free: 11.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001877/0.979, allocations: 33.64 kB / 0.5666 GB, free: 11.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.9791, allocations: 77.11 kB / 0.5667 GB, free: 11.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.9791, allocations: 85 kB / 0.5668 GB, free: 10.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.9791, allocations: 25.7 kB / 0.5668 GB, free: 10.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.9792, allocations: 84.14 kB / 0.5669 GB, free: 10.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.9792, allocations: 3.906 kB / 0.5669 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.9792, allocations: 4.031 kB / 0.5669 GB, free: 10.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.9794, allocations: 318.8 kB / 0.5672 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.9794, allocations: 0 / 0.5672 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.9795, allocations: 0 / 0.5672 GB, free: 10.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.9795, allocations: 4 kB / 0.5672 GB, free: 10.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9795, allocations: 0 / 0.5672 GB, free: 10.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.949e-05/0.9796, allocations: 29.7 kB / 0.5672 GB, free: 10.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.9796, allocations: 4 kB / 0.5672 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.9796, allocations: 4.031 kB / 0.5672 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.9796, allocations: 4 kB / 0.5672 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.9797, allocations: 0 / 0.5672 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.9797, allocations: 4 kB / 0.5672 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.9797, allocations: 7.844 kB / 0.5672 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.9797, allocations: 0 / 0.5672 GB, free: 10.46 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: 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.0001363/0.9799, allocations: 132.1 kB / 0.5674 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.9799, allocations: 4 kB / 0.5674 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.9799, allocations: 3 kB / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9799, allocations: 0 / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9799, allocations: 4 kB / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9799, allocations: 0 / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.98, allocations: 126.2 kB / 0.5675 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.98, allocations: 0 / 0.5675 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-06/0.98, allocations: 3.984 kB / 0.5675 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.98, allocations: 4 kB / 0.5675 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.9801, allocations: 4 kB / 0.5675 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9801, allocations: 0 / 0.5675 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9801, allocations: 3.938 kB / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001535/0.9802, allocations: 65.05 kB / 0.5676 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002795/0.9805, allocations: 461.5 kB / 0.568 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.9806, allocations: 77.11 kB / 0.5681 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.9806, allocations: 3.984 kB / 0.5681 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.9806, allocations: 0 / 0.5681 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.9806, allocations: 7.969 kB / 0.5681 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.9806, allocations: 0 / 0.5681 GB, free: 9.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.674e-05/0.9807, allocations: 83.27 kB / 0.5682 GB, free: 9.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008152/0.9815, allocations: 4 kB / 0.5682 GB, free: 9.387 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: 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.0001438/0.9817, allocations: 95.25 kB / 0.5683 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.9818, allocations: 25.7 kB / 0.5683 GB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9818, allocations: 0 / 0.5683 GB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.073e-05/0.9818, allocations: 37.7 kB / 0.5683 GB, free: 9.211 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.9819, allocations: 3.266 kB / 0.5683 GB, free: 9.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001778/0.9821, allocations: 48.06 kB / 0.5684 GB, free: 9.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.9824, allocations: 0.6841 MB / 0.5691 GB, free: 8.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.9824, allocations: 0 / 0.5691 GB, free: 8.43 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat