Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 173.4 kB / 8.515 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 221.4 MB / 230.3 MB, free: 7.723 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009217/0.0009218, allocations: 92.66 kB / 281.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1736/0.1736, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2181/0.3918, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.5071, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.329/0.8362, allocations: 87.34 MB / 0.5795 GB, free: 9.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.8365, allocations: 77.23 kB / 0.5796 GB, free: 9.348 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.02096/0.8575, allocations: 4.299 MB / 0.5838 GB, free: 5.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.8576, allocations: 11.94 kB / 0.5838 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.8577, allocations: 11.91 kB / 0.5838 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.858, allocations: 202.7 kB / 0.584 GB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.8581, allocations: 0 / 0.584 GB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.8581, allocations: 4 kB / 0.584 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/0.8582, allocations: 12 kB / 0.584 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.8583, allocations: 49.62 kB / 0.584 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.8584, allocations: 0 / 0.584 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.8584, allocations: 4 kB / 0.584 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8584, allocations: 0 / 0.584 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.859, allocations: 289.2 kB / 0.5843 GB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.8591, allocations: 33.72 kB / 0.5843 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.8592, allocations: 20.88 kB / 0.5844 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.8592, allocations: 3.984 kB / 0.5844 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.8593, allocations: 38.5 kB / 0.5844 GB, free: 4.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.8593, allocations: 0 / 0.5844 GB, free: 4.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007619/0.86, allocations: 149.2 kB / 0.5845 GB, free: 4.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.8601, allocations: 59.41 kB / 0.5846 GB, free: 4.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.8604, allocations: 173.4 kB / 0.5848 GB, free: 3.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.8604, allocations: 25.7 kB / 0.5848 GB, free: 3.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.8605, allocations: 96.03 kB / 0.5849 GB, free: 3.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.8606, allocations: 23.66 kB / 0.5849 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.8606, allocations: 0 / 0.5849 GB, free: 3.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.8608, allocations: 326.7 kB / 0.5852 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.8609, allocations: 27.92 kB / 0.5852 GB, free: 3.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.861, allocations: 24 kB / 0.5853 GB, free: 3.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.8611, allocations: 24.28 kB / 0.5853 GB, free: 3.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8611, allocations: 0 / 0.5853 GB, free: 3.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002547/0.8614, allocations: 93.56 kB / 0.5854 GB, free: 3.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8614, allocations: 4 kB / 0.5854 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.8614, allocations: 0 / 0.5854 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.8615, allocations: 4 kB / 0.5854 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.8617, allocations: 19.98 kB / 0.5854 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.8617, allocations: 0 / 0.5854 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.859e-05/0.8618, allocations: 11.91 kB / 0.5854 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.8619, allocations: 4 kB / 0.5854 GB, free: 3.156 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 0.0001171/0.862, allocations: 104.9 kB / 0.5855 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.8621, allocations: 11.81 kB / 0.5855 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.8624, allocations: 110.2 kB / 0.5856 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8625, allocations: 0 / 0.5856 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8625, allocations: 4 kB / 0.5856 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8625, allocations: 3.938 kB / 0.5856 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.8633, allocations: 387.9 kB / 0.586 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8633, allocations: 0 / 0.586 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.8635, allocations: 19.98 kB / 0.586 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.8635, allocations: 3.938 kB / 0.586 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.8635, allocations: 8.031 kB / 0.586 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8636, allocations: 80 / 0.586 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/0.8636, allocations: 7.984 kB / 0.5861 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002916/0.8639, allocations: 201.9 kB / 0.5862 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004517/0.8643, allocations: 0.5765 MB / 0.5868 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.8644, allocations: 92.91 kB / 0.5869 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.8645, allocations: 4 kB / 0.5869 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.8647, allocations: 4 kB / 0.5869 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.8647, allocations: 11.98 kB / 0.5869 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.8648, allocations: 4 kB / 0.5869 GB, free: 1.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002159/0.865, allocations: 152.1 kB / 0.5871 GB, free: 1.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001708/0.8667, allocations: 31.84 kB / 0.5871 GB, free: 1.305 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001256/0.868, allocations: 341.5 kB / 0.5874 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.8682, allocations: 51.98 kB / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.8682, allocations: 3.938 kB / 0.5875 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.8684, allocations: 32.3 kB / 0.5875 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.8687, allocations: 10.94 kB / 0.5875 GB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.8694, allocations: 188.4 kB / 0.5877 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.8699, allocations: 0.7349 MB / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.8699, allocations: 0 / 0.5884 GB, free: 15.98 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat does not exist to compare? outputFormat=mat