Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.001033/0.001033, allocations: 190.4 kB / 7.803 MB, free: 2.492 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.0008904/0.0008904, allocations: 89 kB / 261.4 MB, free: 13.55 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.1757/0.1757, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1799/0.3557, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.6106, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.723, allocations: 86.72 MB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.7233, allocations: 67.97 kB / 0.5502 GB, free: 12.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01447/0.7377, allocations: 5.217 MB / 0.5553 GB, free: 6.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7378, allocations: 11.94 kB / 0.5554 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.7379, allocations: 11.91 kB / 0.5554 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.7382, allocations: 217.6 kB / 0.5556 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.7382, allocations: 4 kB / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.7382, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.173e-05/0.7383, allocations: 15.98 kB / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.7384, allocations: 41.69 kB / 0.5556 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7384, allocations: 4 kB / 0.5556 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.7384, allocations: 0 / 0.5556 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.7385, allocations: 3.984 kB / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.7387, allocations: 162.2 kB / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.766e-05/0.7388, allocations: 46.64 kB / 0.5558 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.7388, allocations: 20.88 kB / 0.5559 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.7389, allocations: 4 kB / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.584e-05/0.7389, allocations: 59.41 kB / 0.5559 GB, free: 6.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.739, allocations: 0 / 0.5559 GB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001802/0.7391, allocations: 69.5 kB / 0.556 GB, free: 6.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.7392, allocations: 55.41 kB / 0.556 GB, free: 6.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.7394, allocations: 170.3 kB / 0.5562 GB, free: 5.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.7394, allocations: 25.7 kB / 0.5562 GB, free: 5.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.7394, allocations: 88.14 kB / 0.5563 GB, free: 5.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.7395, allocations: 11.83 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.7395, allocations: 0 / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7396, allocations: 330.7 kB / 0.5566 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.7396, allocations: 19.92 kB / 0.5567 GB, free: 5.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.296e-05/0.7397, allocations: 29.72 kB / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.7397, allocations: 15.98 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7397, allocations: 0 / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001225/0.7398, allocations: 69.59 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7399, allocations: 4 kB / 0.5568 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7399, allocations: 4 kB / 0.5568 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7399, allocations: 0 / 0.5568 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.74, allocations: 11.94 kB / 0.5568 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.74, allocations: 4.031 kB / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.7401, allocations: 11.89 kB / 0.5568 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.7401, allocations: 8 kB / 0.5568 GB, free: 5.199 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 (7): * Single equations (assignments): 7 * 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.486e-05/0.7402, allocations: 102.4 kB / 0.5569 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.7402, allocations: 11.81 kB / 0.5569 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.7404, allocations: 81.84 kB / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7404, allocations: 0 / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7404, allocations: 0 / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.7404, allocations: 0 / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.7405, allocations: 178.1 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7405, allocations: 0 / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.7406, allocations: 7.906 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7406, allocations: 4 kB / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.7406, allocations: 0 / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7406, allocations: 4.172 kB / 0.5572 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7406, allocations: 4 kB / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001289/0.7407, allocations: 96.94 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002402/0.741, allocations: 485.4 kB / 0.5577 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.7411, allocations: 92.92 kB / 0.5578 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.7411, allocations: 3.984 kB / 0.5578 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.7411, allocations: 4 kB / 0.5578 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.7412, allocations: 4 kB / 0.5578 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.7412, allocations: 4 kB / 0.5578 GB, free: 4.031 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001073/0.7413, allocations: 140.1 kB / 0.558 GB, free: 3.895 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007991/0.7421, allocations: 27.94 kB / 0.558 GB, free: 3.867 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006668/0.7428, allocations: 324.6 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.7429, allocations: 39.92 kB / 0.5583 GB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7429, allocations: 0 / 0.5583 GB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.743, allocations: 20 kB / 0.5584 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.7432, allocations: 27.91 kB / 0.5584 GB, free: 3.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.7436, allocations: 135.5 kB / 0.5585 GB, free: 3.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.7439, allocations: 0.7231 MB / 0.5592 GB, free: 2.586 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7439, allocations: 3.938 kB / 0.5592 GB, free: 2.582 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)