Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.001964/0.001964, allocations: 182.1 kB / 8.519 MB, free: 1.699 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.302/1.302, allocations: 221.4 MB / 230.3 MB, free: 7.734 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.001046/0.001045, allocations: 80.8 kB / 281.2 MB, free: 5.469 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.1828/0.1828, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2382/0.421, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.5503, allocations: 61.92 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.898, allocations: 88.47 MB / 0.5806 GB, free: 8.223 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.8985, allocations: 72.62 kB / 0.5807 GB, free: 8.152 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01624/0.9147, allocations: 5.702 MB / 0.5862 GB, free: 2.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9148, allocations: 11.94 kB / 0.5862 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.9148, allocations: 15.81 kB / 0.5863 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.9152, allocations: 216.1 kB / 0.5865 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.9153, allocations: 4 kB / 0.5865 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.9153, allocations: 7.906 kB / 0.5865 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.484e-05/0.9154, allocations: 20 kB / 0.5865 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.9155, allocations: 49.67 kB / 0.5865 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.9155, allocations: 0 / 0.5865 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.9155, allocations: 3.938 kB / 0.5865 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9156, allocations: 3.938 kB / 0.5865 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.916, allocations: 273.4 kB / 0.5868 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.9162, allocations: 50.7 kB / 0.5869 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.9163, allocations: 20.97 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.9163, allocations: 0 / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.9164, allocations: 67.34 kB / 0.5869 GB, free: 1.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.9164, allocations: 0 / 0.5869 GB, free: 1.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004936/0.9169, allocations: 141.1 kB / 0.5871 GB, free: 1.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.917, allocations: 51.41 kB / 0.5871 GB, free: 1.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.9172, allocations: 193.3 kB / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.9172, allocations: 25.7 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.9173, allocations: 92.12 kB / 0.5874 GB, free: 1.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.9173, allocations: 23.66 kB / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.9173, allocations: 0 / 0.5874 GB, free: 1.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9174, allocations: 322.8 kB / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.9175, allocations: 23.98 kB / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.9175, allocations: 37.66 kB / 0.5878 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.9176, allocations: 23.97 kB / 0.5878 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.9176, allocations: 0 / 0.5878 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000152/0.9178, allocations: 89.5 kB / 0.5879 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.9178, allocations: 4 kB / 0.5879 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9178, allocations: 4 kB / 0.5879 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.9178, allocations: 0 / 0.5879 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.9179, allocations: 23.95 kB / 0.5879 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.9179, allocations: 0 / 0.5879 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.918, allocations: 4 kB / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.918, allocations: 12.09 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.497e-05/0.9181, allocations: 105 kB / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.9181, allocations: 19.75 kB / 0.5881 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.9184, allocations: 103.2 kB / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9184, allocations: 0 / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9184, allocations: 4 kB / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9184, allocations: 0 / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.9188, allocations: 383.8 kB / 0.5885 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.9188, allocations: 0 / 0.5885 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.9189, allocations: 19.92 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9189, allocations: 0 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.9189, allocations: 4 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.9189, allocations: 0 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.9189, allocations: 0 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000233/0.9192, allocations: 210.1 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003907/0.9196, allocations: 0.5842 MB / 0.5893 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.9197, allocations: 93 kB / 0.5894 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.9197, allocations: 3.906 kB / 0.5894 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.9198, allocations: 4 kB / 0.5894 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.9199, allocations: 11.98 kB / 0.5894 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.9199, allocations: 4.188 kB / 0.5895 GB, free: 14.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001313/0.92, allocations: 148.2 kB / 0.5896 GB, free: 14.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000906/0.9209, allocations: 32 kB / 0.5896 GB, free: 14.64 MB / 410.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007109/0.9217, allocations: 360.2 kB / 0.59 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.9218, allocations: 48 kB / 0.59 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9218, allocations: 0 / 0.59 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.9219, allocations: 36 kB / 0.59 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.9222, allocations: 24.36 kB / 0.5901 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.9226, allocations: 168.5 kB / 0.5902 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.923, allocations: 0.7386 MB / 0.591 GB, free: 13.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.923, allocations: 0 / 0.591 GB, free: 13.3 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)