Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.0009945/0.0009945, allocations: 190.1 kB / 7.804 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.128/1.128, 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.0009458/0.000946, allocations: 83.45 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.1603/0.1603, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1852/0.3455, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.6098, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.7252, allocations: 87.87 MB / 0.5513 GB, free: 11.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.7255, allocations: 75.45 kB / 0.5514 GB, free: 10.97 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01204/0.7376, allocations: 4.332 MB / 0.5556 GB, free: 6.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.7376, allocations: 12 kB / 0.5556 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.7377, allocations: 15.81 kB / 0.5556 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.738, allocations: 238.6 kB / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.738, allocations: 4 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.7381, allocations: 7.906 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.905e-05/0.7382, allocations: 31.98 kB / 0.5559 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.7383, allocations: 88.25 kB / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7384, allocations: 4 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.7384, allocations: 0 / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7384, allocations: 7.984 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.7389, allocations: 497.4 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.7391, allocations: 70.69 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.7392, allocations: 36.78 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.7392, allocations: 8 kB / 0.5566 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.701e-05/0.7393, allocations: 71.39 kB / 0.5566 GB, free: 5.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.7393, allocations: 0 / 0.5566 GB, free: 5.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002078/0.7395, allocations: 93.42 kB / 0.5567 GB, free: 5.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.7396, allocations: 51.41 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.7397, allocations: 170.7 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.7398, allocations: 29.7 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.7398, allocations: 99.94 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.7399, allocations: 23.66 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.7399, allocations: 4 kB / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.74, allocations: 330.8 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.74, allocations: 20 kB / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.7401, allocations: 48.3 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.7402, allocations: 39.86 kB / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7402, allocations: 0 / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001796/0.7404, allocations: 113.5 kB / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.7404, allocations: 8 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7404, allocations: 0 / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7404, allocations: 7.906 kB / 0.5576 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7405, allocations: 27.92 kB / 0.5577 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7405, allocations: 4 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.7406, allocations: 16.05 kB / 0.5577 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.7406, allocations: 7.984 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.232e-05/0.7407, allocations: 117.8 kB / 0.5578 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.7408, allocations: 15.81 kB / 0.5578 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.7409, allocations: 103.1 kB / 0.5579 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.741, allocations: 0 / 0.5579 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.741, allocations: 0 / 0.5579 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.741, allocations: 4 kB / 0.5579 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.7411, allocations: 190.2 kB / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7411, allocations: 0 / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-05/0.7412, allocations: 19.98 kB / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7412, allocations: 0 / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.7413, allocations: 0 / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7413, allocations: 4 kB / 0.5581 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7413, allocations: 0 / 0.5581 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000224/0.7415, allocations: 164.8 kB / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003322/0.7418, allocations: 0.5756 MB / 0.5588 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.7419, allocations: 85.02 kB / 0.5589 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.742, allocations: 7.906 kB / 0.5589 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.742, allocations: 12.11 kB / 0.5589 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.7421, allocations: 7.984 kB / 0.559 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.7421, allocations: 8 kB / 0.559 GB, free: 2.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.107e-05/0.7422, allocations: 128.1 kB / 0.5591 GB, free: 2.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007972/0.743, allocations: 39.98 kB / 0.5591 GB, free: 2.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000636/0.7436, allocations: 314.5 kB / 0.5594 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.7438, allocations: 67.92 kB / 0.5595 GB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7438, allocations: 0 / 0.5595 GB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.7439, allocations: 32 kB / 0.5595 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.7442, allocations: 39.86 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.7446, allocations: 171.8 kB / 0.5597 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.745, allocations: 0.7511 MB / 0.5605 GB, free: 1.301 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.745, allocations: 0 / 0.5605 GB, free: 1.301 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)