Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",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.001625/0.001625, allocations: 199.5 kB / 8.541 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 225.5 MB / 234.4 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008944/0.0008945, allocations: 91.16 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 45.14 MB / 383.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2485/0.4573, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.5653, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.8916, allocations: 89.11 MB / 0.5909 GB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.8919, allocations: 69.59 kB / 0.5909 GB, free: 13.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.02825/0.9201, allocations: 12.14 MB / 0.6028 GB, free: 4.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.9202, allocations: 12 kB / 0.6028 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.9203, allocations: 11.91 kB / 0.6028 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.9206, allocations: 196.9 kB / 0.603 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.9206, allocations: 4 kB / 0.603 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.9206, allocations: 3.938 kB / 0.603 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.558e-05/0.9207, allocations: 30.02 kB / 0.603 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.9208, allocations: 64.91 kB / 0.6031 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.9209, allocations: 7.922 kB / 0.6031 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9209, allocations: 0 / 0.6031 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.9209, allocations: 4 kB / 0.6031 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.9213, allocations: 287.3 kB / 0.6034 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.9214, allocations: 39.89 kB / 0.6034 GB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.9215, allocations: 26.72 kB / 0.6035 GB, free: 3.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.9215, allocations: 4 kB / 0.6035 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.9216, allocations: 30.56 kB / 0.6035 GB, free: 3.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.9216, allocations: 0 / 0.6035 GB, free: 3.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005247/0.9221, allocations: 154.2 kB / 0.6036 GB, free: 3.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.9222, allocations: 77.11 kB / 0.6037 GB, free: 3.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.9223, allocations: 139.1 kB / 0.6038 GB, free: 2.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.9224, allocations: 25.7 kB / 0.6039 GB, free: 2.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.9224, allocations: 99.59 kB / 0.604 GB, free: 2.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.9225, allocations: 26.08 kB / 0.604 GB, free: 2.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.9225, allocations: 0 / 0.604 GB, free: 2.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9226, allocations: 314.6 kB / 0.6043 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.9227, allocations: 22.3 kB / 0.6043 GB, free: 2.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.9227, allocations: 28.66 kB / 0.6043 GB, free: 2.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.9228, allocations: 31.42 kB / 0.6044 GB, free: 2.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.471e-05/0.9228, allocations: 0 / 0.6044 GB, free: 2.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001482/0.9229, allocations: 91.89 kB / 0.6045 GB, free: 2.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.923, allocations: 4 kB / 0.6045 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.923, allocations: 0 / 0.6045 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.923, allocations: 4 kB / 0.6045 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.9231, allocations: 19.98 kB / 0.6045 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.9231, allocations: 0 / 0.6045 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.9232, allocations: 8 kB / 0.6045 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.9232, allocations: 4 kB / 0.6045 GB, free: 2.285 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 (8): * Single equations (assignments): 8 * 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.195e-05/0.9233, allocations: 101 kB / 0.6046 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.9233, allocations: 11.81 kB / 0.6046 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.9236, allocations: 107.6 kB / 0.6047 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9236, allocations: 4 kB / 0.6047 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.9236, allocations: 0 / 0.6047 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9236, allocations: 7.984 kB / 0.6047 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.924, allocations: 362 kB / 0.6051 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.924, allocations: 192 / 0.6051 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.9241, allocations: 23.98 kB / 0.6051 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.9241, allocations: 0 / 0.6051 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.9241, allocations: 4 kB / 0.6051 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9241, allocations: 4 kB / 0.6051 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9241, allocations: 3.906 kB / 0.6051 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001834/0.9243, allocations: 188.6 kB / 0.6053 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003068/0.9246, allocations: 0.5571 MB / 0.6058 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.9247, allocations: 92 kB / 0.6059 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.9247, allocations: 4 kB / 0.6059 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.9248, allocations: 4 kB / 0.6059 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.9249, allocations: 7.984 kB / 0.6059 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.9249, allocations: 3.938 kB / 0.6059 GB, free: 0.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.204e-05/0.925, allocations: 116.2 kB / 0.606 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009531/0.9259, allocations: 62.41 kB / 0.6061 GB, free: 0.6445 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 (8): * Single equations (assignments): 8 * 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.0009413/0.9269, allocations: 383.9 kB / 0.6065 GB, free: 356 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.9271, allocations: 56.36 kB / 0.6065 GB, free: 316 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9271, allocations: 0 / 0.6065 GB, free: 316 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.9271, allocations: 26.75 kB / 0.6065 GB, free: 296 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.9274, allocations: 19.67 kB / 0.6066 GB, free: 280 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.9278, allocations: 141.2 kB / 0.6067 GB, free: 128 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.9282, allocations: 0.7224 MB / 0.6074 GB, free: 15.38 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.9283, allocations: 4 kB / 0.6074 GB, free: 15.38 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat does not exist to compare? outputFormat=mat