Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",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.0009926/0.0009926, allocations: 185.5 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.131/1.131, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001004/0.001004, allocations: 85.27 kB / 261.4 MB, free: 13.54 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.165/0.165, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1836/0.3486, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.61, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.7261, allocations: 86.89 MB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.7264, allocations: 79.12 kB / 0.5504 GB, free: 11.96 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.01509/0.7415, allocations: 5.418 MB / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7416, allocations: 8 kB / 0.5557 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.7417, allocations: 19.75 kB / 0.5557 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.7419, allocations: 209 kB / 0.5559 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.742, allocations: 4 kB / 0.5559 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.742, allocations: 8 kB / 0.5559 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.847e-05/0.7421, allocations: 16 kB / 0.556 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.189e-05/0.7422, allocations: 53.58 kB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7422, allocations: 0 / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7422, allocations: 0 / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.7422, allocations: 4 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.7425, allocations: 277.3 kB / 0.5563 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.7427, allocations: 50.7 kB / 0.5563 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.7427, allocations: 20.97 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.7427, allocations: 0 / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.877e-05/0.7428, allocations: 59.41 kB / 0.5564 GB, free: 5.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.7428, allocations: 0 / 0.5564 GB, free: 5.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004455/0.7433, allocations: 137.2 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.7433, allocations: 55.41 kB / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.7435, allocations: 182.3 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.7435, allocations: 29.64 kB / 0.5568 GB, free: 5.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.7436, allocations: 88.14 kB / 0.5569 GB, free: 5.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.7436, allocations: 27.64 kB / 0.5569 GB, free: 5.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.7436, allocations: 0 / 0.5569 GB, free: 5.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7438, allocations: 326.8 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.7438, allocations: 16 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.7439, allocations: 41.64 kB / 0.5573 GB, free: 4.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.7439, allocations: 20 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.7439, allocations: 0 / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001443/0.7441, allocations: 89.67 kB / 0.5574 GB, free: 4.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7441, allocations: 8 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7441, allocations: 3.938 kB / 0.5574 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.7441, allocations: 0 / 0.5574 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.7442, allocations: 19.94 kB / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7442, allocations: 4 kB / 0.5574 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.7443, allocations: 8.016 kB / 0.5574 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.7443, allocations: 4 kB / 0.5574 GB, free: 4.57 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 5.98e-05/0.7444, allocations: 105 kB / 0.5575 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.7444, allocations: 11.81 kB / 0.5575 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.7446, allocations: 103 kB / 0.5576 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7446, allocations: 3.984 kB / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7446, allocations: 0 / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7446, allocations: 4 kB / 0.5576 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.745, allocations: 375.8 kB / 0.558 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.745, allocations: 0 / 0.558 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.745, allocations: 12 kB / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.745, allocations: 0 / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.745, allocations: 7.906 kB / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7451, allocations: 192 / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.7451, allocations: 8 kB / 0.558 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001556/0.7452, allocations: 205.9 kB / 0.5582 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000278/0.7455, allocations: 0.5764 MB / 0.5588 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.7456, allocations: 96.91 kB / 0.5589 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.7456, allocations: 4 kB / 0.5589 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.7457, allocations: 0 / 0.5589 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.7458, allocations: 12.25 kB / 0.5589 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.7458, allocations: 11.94 kB / 0.5589 GB, free: 2.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000113/0.7459, allocations: 140.9 kB / 0.559 GB, free: 2.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000853/0.7467, allocations: 39.88 kB / 0.5591 GB, free: 2.75 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.0007429/0.7475, allocations: 345.9 kB / 0.5594 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.7476, allocations: 52 kB / 0.5594 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7476, allocations: 0 / 0.5594 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/0.7477, allocations: 31.94 kB / 0.5595 GB, free: 2.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.748, allocations: 31.86 kB / 0.5595 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.7484, allocations: 168.5 kB / 0.5597 GB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.7487, allocations: 0.7348 MB / 0.5604 GB, free: 1.371 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.7487, allocations: 0 / 0.5604 GB, free: 1.371 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)