Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",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.001268/0.001268, allocations: 200.2 kB / 8.535 MB, free: 480 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 225.5 MB / 234.4 MB, free: 9.52 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 96.86 kB / 286.3 MB, free: 5.801 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2512/0.2512, allocations: 45.14 MB / 383.3 MB, free: 4.852 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2758/0.5271, allocations: 69.37 MB / 452.7 MB, free: 48.18 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.7051, allocations: 63.23 MB / 0.5039 GB, free: 0.8828 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4126/1.118, allocations: 89.05 MB / 0.5908 GB, free: 14.64 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.118, allocations: 71.97 kB / 0.5909 GB, free: 14.57 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.02879/1.147, allocations: 11.82 MB / 0.6024 GB, free: 2.691 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/1.147, allocations: 12 kB / 0.6024 GB, free: 2.68 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/1.147, allocations: 11.81 kB / 0.6025 GB, free: 2.668 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/1.147, allocations: 190.9 kB / 0.6026 GB, free: 2.441 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/1.147, allocations: 0 / 0.6026 GB, free: 2.441 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/1.147, allocations: 0 / 0.6026 GB, free: 2.441 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.704e-05/1.147, allocations: 15.98 kB / 0.6027 GB, free: 2.426 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.566e-05/1.147, allocations: 63.41 kB / 0.6027 GB, free: 2.352 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.148, allocations: 0 / 0.6027 GB, free: 2.352 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.148, allocations: 0 / 0.6027 GB, free: 2.352 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.148, allocations: 0 / 0.6027 GB, free: 2.352 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/1.148, allocations: 273.3 kB / 0.603 GB, free: 2.047 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/1.148, allocations: 33.7 kB / 0.603 GB, free: 2.008 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/1.148, allocations: 8.922 kB / 0.603 GB, free: 1.996 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/1.148, allocations: 0 / 0.603 GB, free: 1.996 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/1.148, allocations: 38.56 kB / 0.603 GB, free: 1.949 MB / 418.8 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/1.148, allocations: 0 / 0.603 GB, free: 1.949 MB / 418.8 MB Notification: Performance of matching and sorting (n=5): time 0.000406/1.149, allocations: 113.4 kB / 0.6032 GB, free: 1.832 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.149, allocations: 81.11 kB / 0.6032 GB, free: 1.734 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/1.149, allocations: 135.6 kB / 0.6034 GB, free: 1.594 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/1.149, allocations: 29.64 kB / 0.6034 GB, free: 1.559 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/1.149, allocations: 84.12 kB / 0.6035 GB, free: 1.473 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/1.149, allocations: 19.75 kB / 0.6035 GB, free: 1.453 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/1.149, allocations: 0 / 0.6035 GB, free: 1.453 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001453/1.149, allocations: 322.8 kB / 0.6038 GB, free: 1.129 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/1.149, allocations: 12 kB / 0.6038 GB, free: 1.117 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/1.149, allocations: 25.7 kB / 0.6038 GB, free: 1.086 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/1.149, allocations: 12 kB / 0.6038 GB, free: 1.074 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/1.149, allocations: 0 / 0.6038 GB, free: 1.074 MB / 418.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001087/1.149, allocations: 69.53 kB / 0.6039 GB, free: 1 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/1.149, allocations: 7.938 kB / 0.6039 GB, free: 0.9922 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.149, allocations: 0 / 0.6039 GB, free: 0.9922 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.149, allocations: 4.156 kB / 0.6039 GB, free: 0.9883 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/1.149, allocations: 20.02 kB / 0.6039 GB, free: 0.9688 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.149, allocations: 4 kB / 0.6039 GB, free: 0.9648 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/1.149, allocations: 8 kB / 0.604 GB, free: 0.957 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/1.149, allocations: 3.984 kB / 0.604 GB, free: 0.9531 MB / 418.8 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 (5): * Single equations (assignments): 5 * 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 7.879e-05/1.15, allocations: 112.4 kB / 0.6041 GB, free: 0.8398 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/1.15, allocations: 7.906 kB / 0.6041 GB, free: 0.832 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/1.15, allocations: 77.86 kB / 0.6041 GB, free: 0.7461 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.15, allocations: 144 / 0.6041 GB, free: 0.7461 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.15, allocations: 7.844 kB / 0.6042 GB, free: 0.7383 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.15, allocations: 3.984 kB / 0.6042 GB, free: 0.7344 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/1.15, allocations: 307.1 kB / 0.6045 GB, free: 400 kB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.15, allocations: 0 / 0.6045 GB, free: 400 kB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/1.15, allocations: 19.98 kB / 0.6045 GB, free: 380 kB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.15, allocations: 0 / 0.6045 GB, free: 380 kB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/1.15, allocations: 7.906 kB / 0.6045 GB, free: 372 kB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.15, allocations: 0 / 0.6045 GB, free: 372 kB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.15, allocations: 0 / 0.6045 GB, free: 372 kB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001361/1.15, allocations: 163.4 kB / 0.6046 GB, free: 192 kB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002991/1.151, allocations: 0.5416 MB / 0.6052 GB, free: 15.63 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/1.151, allocations: 89.02 kB / 0.6052 GB, free: 15.52 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/1.151, allocations: 256 / 0.6052 GB, free: 15.52 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/1.151, allocations: 15.98 kB / 0.6053 GB, free: 15.51 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/1.151, allocations: 0 / 0.6053 GB, free: 15.51 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/1.151, allocations: 0 / 0.6053 GB, free: 15.51 MB / 434.8 MB Notification: Performance of sort global known variables: time 8.151e-05/1.151, allocations: 111.3 kB / 0.6054 GB, free: 15.4 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.000946/1.152, allocations: 63.92 kB / 0.6054 GB, free: 15.34 MB / 434.8 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 (5): * Single equations (assignments): 5 * 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.0008664/1.153, allocations: 394.8 kB / 0.6058 GB, free: 15.03 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.0001145/1.153, allocations: 28 kB / 0.6058 GB, free: 15 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.153, allocations: 0 / 0.6058 GB, free: 15 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/1.153, allocations: 23.94 kB / 0.6059 GB, free: 14.98 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/1.153, allocations: 15.89 kB / 0.6059 GB, free: 14.96 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/1.154, allocations: 115.7 kB / 0.606 GB, free: 14.82 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/1.154, allocations: 0.7152 MB / 0.6067 GB, free: 14.08 MB / 434.8 MB Notification: Performance of SimCode: time 2.71e-07/1.154, allocations: 0 / 0.6067 GB, free: 14.08 MB / 434.8 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat does not exist to compare? outputFormat=mat