Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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 trunk/package.mo): time 0.00115/0.00115, allocations: 206.1 kB / 8.543 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001137, allocations: 95.33 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3298/0.3298, allocations: 45.13 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3799/0.7098, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.846, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/1.281, allocations: 88.71 MB / 0.5905 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/1.281, allocations: 72.55 kB / 0.5906 GB, free: 14.29 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.01378/1.295, allocations: 4.625 MB / 0.5951 GB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.295, allocations: 8 kB / 0.5951 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/1.295, allocations: 11.91 kB / 0.5951 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/1.296, allocations: 204.5 kB / 0.5953 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/1.296, allocations: 3.906 kB / 0.5953 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.296, allocations: 0 / 0.5953 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.279e-05/1.296, allocations: 18.55 kB / 0.5953 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.128e-05/1.296, allocations: 37.19 kB / 0.5953 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.296, allocations: 4 kB / 0.5953 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.296, allocations: 0 / 0.5953 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.296, allocations: 0 / 0.5953 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/1.296, allocations: 271.5 kB / 0.5956 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/1.296, allocations: 29.2 kB / 0.5956 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/1.296, allocations: 12.86 kB / 0.5956 GB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/1.296, allocations: 0 / 0.5956 GB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/1.297, allocations: 37.88 kB / 0.5957 GB, free: 9.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.297, allocations: 0 / 0.5957 GB, free: 9.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000432/1.297, allocations: 112.5 kB / 0.5958 GB, free: 9.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/1.297, allocations: 52.06 kB / 0.5958 GB, free: 9.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/1.297, allocations: 152.5 kB / 0.596 GB, free: 9.398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.297, allocations: 25.7 kB / 0.596 GB, free: 9.367 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/1.297, allocations: 99.44 kB / 0.5961 GB, free: 9.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/1.297, allocations: 11.19 kB / 0.5961 GB, free: 9.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.297, allocations: 4 kB / 0.5961 GB, free: 9.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/1.297, allocations: 322.4 kB / 0.5964 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/1.297, allocations: 15.12 kB / 0.5964 GB, free: 8.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/1.298, allocations: 11.38 kB / 0.5965 GB, free: 8.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/1.298, allocations: 14.23 kB / 0.5965 GB, free: 8.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/1.298, allocations: 7.938 kB / 0.5965 GB, free: 8.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000107/1.298, allocations: 61.09 kB / 0.5965 GB, free: 8.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.298, allocations: 15.94 kB / 0.5965 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.298, allocations: 4.047 kB / 0.5965 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/1.298, allocations: 4 kB / 0.5966 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/1.298, allocations: 15.98 kB / 0.5966 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/1.298, allocations: 0 / 0.5966 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/1.298, allocations: 4 kB / 0.5966 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/1.298, allocations: 11.38 kB / 0.5966 GB, free: 8.793 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 6.145e-05/1.298, allocations: 104.9 kB / 0.5967 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/1.298, allocations: 11.89 kB / 0.5967 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/1.298, allocations: 72.42 kB / 0.5968 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.298, allocations: 4 kB / 0.5968 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.298, allocations: 0 / 0.5968 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.298, allocations: 3.906 kB / 0.5968 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/1.299, allocations: 318.5 kB / 0.5971 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.299, allocations: 8 kB / 0.5971 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/1.299, allocations: 8 kB / 0.5971 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/1.299, allocations: 4 kB / 0.5971 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/1.299, allocations: 0 / 0.5971 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.299, allocations: 3.906 kB / 0.5971 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.299, allocations: 3.984 kB / 0.5971 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001501/1.299, allocations: 169 kB / 0.5973 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002786/1.299, allocations: 0.5339 MB / 0.5978 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/1.299, allocations: 89.06 kB / 0.5979 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/1.299, allocations: 4 kB / 0.5979 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/1.299, allocations: 4 kB / 0.5979 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/1.299, allocations: 11.98 kB / 0.5979 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/1.299, allocations: 3.125 kB / 0.5979 GB, free: 7.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001029/1.299, allocations: 137.7 kB / 0.598 GB, free: 7.293 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008772/1.3, allocations: 23.92 kB / 0.598 GB, free: 7.27 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.0006313/1.301, allocations: 305.7 kB / 0.5983 GB, free: 7.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/1.301, allocations: 27.62 kB / 0.5984 GB, free: 7.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.301, allocations: 7.938 kB / 0.5984 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-05/1.301, allocations: 15.44 kB / 0.5984 GB, free: 6.996 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/1.301, allocations: 15.42 kB / 0.5984 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/1.302, allocations: 138.6 kB / 0.5985 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/1.302, allocations: 0.7191 MB / 0.5992 GB, free: 6.098 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/1.302, allocations: 0 / 0.5992 GB, free: 6.098 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat does not exist to compare? outputFormat=mat