Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",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.001684/0.001684, allocations: 198.8 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009647/0.0009647, allocations: 97 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3886/0.6118, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.7783, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/1.227, allocations: 88.7 MB / 0.5905 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.227, allocations: 71.77 kB / 0.5906 GB, free: 14.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01313/1.24, allocations: 4.622 MB / 0.5951 GB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.24, allocations: 12 kB / 0.5951 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/1.24, allocations: 7.906 kB / 0.5951 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/1.24, allocations: 202.1 kB / 0.5953 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.24, allocations: 3.906 kB / 0.5953 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/1.24, allocations: 0 / 0.5953 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.113e-05/1.241, allocations: 19.11 kB / 0.5953 GB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.531e-05/1.241, allocations: 41.12 kB / 0.5953 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.241, allocations: 0 / 0.5953 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.241, allocations: 7.984 kB / 0.5953 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/1.241, allocations: 4.75 kB / 0.5954 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/1.241, allocations: 262.1 kB / 0.5956 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/1.241, allocations: 31.45 kB / 0.5956 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/1.241, allocations: 19.42 kB / 0.5957 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/1.241, allocations: 4 kB / 0.5957 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/1.241, allocations: 34.56 kB / 0.5957 GB, free: 9.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/1.241, allocations: 0 / 0.5957 GB, free: 9.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004963/1.242, allocations: 110.2 kB / 0.5958 GB, free: 9.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/1.242, allocations: 55.34 kB / 0.5958 GB, free: 9.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/1.242, allocations: 155.3 kB / 0.596 GB, free: 9.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/1.242, allocations: 25.7 kB / 0.596 GB, free: 9.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/1.242, allocations: 99.12 kB / 0.5961 GB, free: 9.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/1.242, allocations: 7.812 kB / 0.5961 GB, free: 9.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.242, allocations: 0 / 0.5961 GB, free: 9.016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/1.242, allocations: 326 kB / 0.5964 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/1.243, allocations: 15.75 kB / 0.5964 GB, free: 8.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/1.243, allocations: 7.312 kB / 0.5965 GB, free: 8.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/1.243, allocations: 19.17 kB / 0.5965 GB, free: 8.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/1.243, allocations: 7.938 kB / 0.5965 GB, free: 8.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001284/1.243, allocations: 64.59 kB / 0.5965 GB, free: 8.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.243, allocations: 4 kB / 0.5965 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.243, allocations: 4 kB / 0.5965 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.243, allocations: 0 / 0.5965 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/1.243, allocations: 15.98 kB / 0.5966 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.243, allocations: 0 / 0.5966 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/1.243, allocations: 8 kB / 0.5966 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/1.243, allocations: 0 / 0.5966 GB, free: 8.562 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 (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 9.217e-05/1.243, allocations: 116.6 kB / 0.5967 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/1.243, allocations: 11.89 kB / 0.5967 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/1.243, allocations: 71.73 kB / 0.5968 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.243, allocations: 0 / 0.5968 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.243, allocations: 4 kB / 0.5968 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.243, allocations: 3.906 kB / 0.5968 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/1.244, allocations: 325.2 kB / 0.5971 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.244, allocations: 0 / 0.5971 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.743e-05/1.244, allocations: 12 kB / 0.5971 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.244, allocations: 4 kB / 0.5971 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/1.244, allocations: 384 / 0.5971 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.244, allocations: 3.906 kB / 0.5971 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.244, allocations: 7.984 kB / 0.5971 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001873/1.244, allocations: 162.6 kB / 0.5973 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004112/1.245, allocations: 0.5409 MB / 0.5978 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.245, allocations: 89 kB / 0.5979 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/1.245, allocations: 0 / 0.5979 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/1.245, allocations: 8 kB / 0.5979 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/1.245, allocations: 7.984 kB / 0.5979 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/1.245, allocations: 3.438 kB / 0.5979 GB, free: 7.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001244/1.245, allocations: 130.3 kB / 0.598 GB, free: 7.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009545/1.246, allocations: 31.05 kB / 0.598 GB, free: 7.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 (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.0007321/1.247, allocations: 304.7 kB / 0.5983 GB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/1.247, allocations: 34.42 kB / 0.5984 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.247, allocations: 3.938 kB / 0.5984 GB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/1.247, allocations: 15.75 kB / 0.5984 GB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/1.247, allocations: 15.48 kB / 0.5984 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/1.248, allocations: 132.8 kB / 0.5985 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/1.248, allocations: 0.7224 MB / 0.5992 GB, free: 5.855 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/1.248, allocations: 0 / 0.5992 GB, free: 5.855 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat does not exist to compare? outputFormat=mat