Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001141/0.001141, allocations: 188.3 kB / 7.806 MB, free: 2.492 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.292/1.292, 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.001002/0.001002, allocations: 87.5 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.1887/0.1887, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1936/0.3823, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.6531, allocations: 58.83 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.7756, allocations: 86.71 MB / 0.5501 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.7759, allocations: 75.14 kB / 0.5502 GB, free: 12.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01824/0.7942, allocations: 6.474 MB / 0.5565 GB, free: 5.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7942, allocations: 8 kB / 0.5566 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.7943, allocations: 11.81 kB / 0.5566 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.7945, allocations: 194.9 kB / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.7945, allocations: 0 / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.7946, allocations: 8 kB / 0.5568 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.547e-05/0.7947, allocations: 23.92 kB / 0.5568 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.7948, allocations: 59.41 kB / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.7948, allocations: 0 / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7948, allocations: 0 / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.7948, allocations: 4 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.7953, allocations: 289.3 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.883e-05/0.7954, allocations: 42.41 kB / 0.5572 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.7954, allocations: 16.86 kB / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.7955, allocations: 0 / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.7955, allocations: 38.56 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7955, allocations: 0 / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005093/0.796, allocations: 145.4 kB / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.7961, allocations: 85.09 kB / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.7962, allocations: 125.2 kB / 0.5575 GB, free: 4.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.7963, allocations: 25.7 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.7963, allocations: 103.9 kB / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.7964, allocations: 23.7 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.7964, allocations: 0 / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7965, allocations: 314.8 kB / 0.558 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.7965, allocations: 20 kB / 0.558 GB, free: 3.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.7966, allocations: 37.7 kB / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.7966, allocations: 20 kB / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.7966, allocations: 0 / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000147/0.7968, allocations: 97.64 kB / 0.5582 GB, free: 3.793 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7968, allocations: 4 kB / 0.5582 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7968, allocations: 0 / 0.5582 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.7968, allocations: 0 / 0.5582 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.797, allocations: 31.95 kB / 0.5582 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.797, allocations: 320 / 0.5582 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.7971, allocations: 19.89 kB / 0.5582 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.7971, allocations: 0 / 0.5582 GB, free: 3.738 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.559e-05/0.7972, allocations: 114.3 kB / 0.5583 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.7972, allocations: 7.906 kB / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.7974, allocations: 102.3 kB / 0.5584 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7974, allocations: 3.984 kB / 0.5584 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7975, allocations: 0 / 0.5584 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7975, allocations: 0 / 0.5584 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.7978, allocations: 350.9 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7979, allocations: 4 kB / 0.5588 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.798, allocations: 27.98 kB / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.798, allocations: 0 / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.798, allocations: 4 kB / 0.5588 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.798, allocations: 0 / 0.5588 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.798, allocations: 3.906 kB / 0.5588 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001845/0.7982, allocations: 187.4 kB / 0.559 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003093/0.7985, allocations: 0.5506 MB / 0.5595 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.7986, allocations: 92.91 kB / 0.5596 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.7986, allocations: 0 / 0.5596 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.7987, allocations: 12 kB / 0.5596 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.7988, allocations: 11.98 kB / 0.5596 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7988, allocations: 7.938 kB / 0.5596 GB, free: 2.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.128e-05/0.7989, allocations: 106.7 kB / 0.5597 GB, free: 2.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008422/0.7997, allocations: 35.98 kB / 0.5598 GB, free: 2.027 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007526/0.8005, allocations: 344.2 kB / 0.5601 GB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.8006, allocations: 51.98 kB / 0.5602 GB, free: 1.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8006, allocations: 0 / 0.5602 GB, free: 1.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.8007, allocations: 31.94 kB / 0.5602 GB, free: 1.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.8009, allocations: 23.75 kB / 0.5602 GB, free: 1.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.8013, allocations: 123.5 kB / 0.5603 GB, free: 1.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.8017, allocations: 0.727 MB / 0.561 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.8017, allocations: 0 / 0.561 GB, free: 0.7188 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat does not exist to compare? outputFormat=mat