Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 193 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008537/0.0008535, allocations: 92.61 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1668/0.1668, allocations: 43.48 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1751/0.342, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.5888, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.695, allocations: 86.85 MB / 0.5503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.6952, allocations: 75.95 kB / 0.5504 GB, free: 11.98 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.01444/0.7097, allocations: 5.175 MB / 0.5554 GB, free: 6.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.7097, allocations: 8 kB / 0.5554 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.7098, allocations: 11.91 kB / 0.5554 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.7101, allocations: 211.4 kB / 0.5556 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.7101, allocations: 3.906 kB / 0.5556 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.7101, allocations: 4 kB / 0.5557 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.091e-05/0.7102, allocations: 15.98 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.7103, allocations: 53.62 kB / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.7103, allocations: 4 kB / 0.5557 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.7103, allocations: 0 / 0.5557 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7103, allocations: 3.938 kB / 0.5557 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.7106, allocations: 261.4 kB / 0.556 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.7107, allocations: 50.69 kB / 0.556 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.7108, allocations: 16.98 kB / 0.556 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.7108, allocations: 4 kB / 0.556 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.93e-05/0.7109, allocations: 71.33 kB / 0.5561 GB, free: 5.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.7109, allocations: 0 / 0.5561 GB, free: 5.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003815/0.7113, allocations: 129.3 kB / 0.5562 GB, free: 5.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.7113, allocations: 51.41 kB / 0.5563 GB, free: 5.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.7115, allocations: 143.5 kB / 0.5564 GB, free: 5.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.7115, allocations: 25.7 kB / 0.5564 GB, free: 5.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.7115, allocations: 92.08 kB / 0.5565 GB, free: 5.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.7116, allocations: 27.64 kB / 0.5566 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.7116, allocations: 3.938 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.7117, allocations: 326.8 kB / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.283e-05/0.7117, allocations: 16 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.7118, allocations: 33.72 kB / 0.5569 GB, free: 5.062 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.342e-05/0.7118, allocations: 19.98 kB / 0.5569 GB, free: 5.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.7118, allocations: 0 / 0.5569 GB, free: 5.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.7119, allocations: 97.5 kB / 0.557 GB, free: 4.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.712, allocations: 6.812 kB / 0.557 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.712, allocations: 4.031 kB / 0.557 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.712, allocations: 4 kB / 0.557 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.7121, allocations: 15.98 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.7121, allocations: 0 / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.7122, allocations: 4.188 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.7122, allocations: 4 kB / 0.5571 GB, free: 4.906 MB / 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 7.017e-05/0.7123, allocations: 114.3 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.7123, allocations: 7.906 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.7125, allocations: 106.1 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7125, allocations: 0 / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.7125, allocations: 288 / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7125, allocations: 0 / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.7128, allocations: 359.8 kB / 0.5576 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.7128, allocations: 7.938 kB / 0.5576 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.7129, allocations: 11.98 kB / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.7129, allocations: 7.891 kB / 0.5577 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.7129, allocations: 4.031 kB / 0.5577 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.713, allocations: 4 kB / 0.5577 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.713, allocations: 3.938 kB / 0.5577 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000184/0.7131, allocations: 197.9 kB / 0.5579 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002621/0.7134, allocations: 0.5764 MB / 0.5584 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.7135, allocations: 89.02 kB / 0.5585 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.7135, allocations: 7.984 kB / 0.5585 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.7136, allocations: 0 / 0.5585 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.7136, allocations: 4 kB / 0.5585 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.7136, allocations: 7.984 kB / 0.5585 GB, free: 3.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.14e-05/0.7137, allocations: 128.5 kB / 0.5586 GB, free: 3.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008162/0.7146, allocations: 43.78 kB / 0.5587 GB, free: 3.109 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: 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.0006114/0.7152, allocations: 347.8 kB / 0.559 GB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.7153, allocations: 55.94 kB / 0.5591 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7153, allocations: 0 / 0.5591 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.7154, allocations: 31.98 kB / 0.5591 GB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.7156, allocations: 27.83 kB / 0.5591 GB, free: 2.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.716, allocations: 128.7 kB / 0.5593 GB, free: 2.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.7163, allocations: 0.7307 MB / 0.56 GB, free: 1.793 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7163, allocations: 0 / 0.56 GB, free: 1.793 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)